Entity "show" property not working

1. A concise explanation of the problem you're experiencing.

I am trying to show/hide a rectangle graphics entity, but when I change it to true/false the entity shows up on the globe no matter what.
When the program first starts, I add a bunch of entities to viewer using viewer.entities.add(entity);
Then, I have attached a checkbox to show, or not show, the entity. I know that this works, because stepping through the firefox debugger does reveal that the "show" value for entity is actually being changed, but to no result on the globe.

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

for example,
entity.show = false;
(does not remove the entity from the globe)

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

I would like to toggle between showing and not showing the entity.

4. The Cesium version you're using, your operating system and browser.

Cesium 1.7.1, Rel7, Firefox

Note that version 1.7.1 is about 3.5 years old at this point. Entity.show was added in 1.8, which is why it’s not working for you. Prior to that, show had to be set on each individual graphics object, for example, by setting entity.rectangle.show = false

Ok! Thanks