code: def find_model(object):
          
  
          models = []
          for model in GraphModel._GraphModel__models_instances.itervalues():
              for node in foundations.walkers.nodes_walker(model.root_node):
                  if node is object:
                      models.append(model)
  
                  for attribute in node.get_attributes():
                      if attribute is object:
                          models.append(model)
          return models
docs: Returns the model(s) associated with given object.
  
          :param object: Node / Attribute.
          :type object: GraphModelNode or GraphModelAttribute
          :return: Model(s).
          :rtype: list