Original Post
I recently defined, in a class, a freeze and unfreeze method. Freeze sets the objects froze variable to True, and unfreeze sets it to False. Now, is it worthwhile to check and see if the variable is already True or False, and only assign a value to the variable if it isn't?