def are_all_attributes_visible(self):
for attribute_name, type_instance in inspect.getmembers(self):<EOL><INDENT>if attribute_name.startswith('<STR_LIT>') or inspect.ismethod(type_instance):<EOL><INDENT>continue<EOL><DEDENT>if isinstance(type_instance, bool) and type_instance is False:<EOL><INDENT>return False<EOL><DEDENT>elif isinstance(type_instance, self.__class__) and type_instance.are_all_attributes_visible() is False:<EOL><INDENT>return False<EOL><DEDENT><DEDENT>return True<EOL>
checks to see if all attributes are set to true