code: def isattr(self, key):
          
          try:
              if key in self.datastore:
                  return True
              else:
                  return False
          except AttributeError:
              return False
docs: Checks to see if an attribute exists. If it does, returns True, otherwise returns False
          :param key: Dictionary key to be checked for presence in the datastore
          :return: True/False depending on whether an attribute exists