code: def has_own_property(self, attr):
          
          try:
              object.__getattribute__(self, attr)
          except AttributeError:
              return False
          else:
              return True
docs: Returns if the property