code: def get_models(self):
          
          try:
              rels = self.rels_ext.content
          except RequestFailed:
              # if rels-ext can't be retrieved, confirm this object does not have a RELS-EXT
              # (in which case, it does not have any content models)
              if "RELS-EXT" not in self.ds_list.keys():
                  return []
              else:
                  raise
  
          return list(rels.objects(self.uriref, modelns.hasModel))
docs: Get a list of content models the object subscribes to.