I am new to Python. I could not figure out what "is True" means in this case:
class Answers():
def get_reference(self):
return None
def is_private(self):
return getattr(self, 'private', False) is True
I understand that getattr() will return the value of "private" or it will return False as the default value. So what does the "is True" mean?