code: def has_unresolved_crossrefs(self, obj, attr_name=None):
          
          if get_model(obj) != self.model:
              return get_model(obj). \
                  _tx_reference_resolver.has_unresolved_crossrefs(obj)
          else:
              for crossref_obj, attr, crossref in self.parser._crossrefs:
                  if crossref_obj is obj:
                      if (not attr_name) or attr_name == attr.name:
                          return True
              return False
docs: Args:
              obj: has this object unresolved crossrefs in its fields
              (non recursively)
  
          Returns:
              True (has unresolved crossrefs) or False (else)