code: def named_eq_relations(self, name, neg=False):
          '''Returns list of named eqLinks.
  
          <name> may be string or list.
          '''
          if self.eqLinks and not neg:
  
              if isinstance(name, six.string_types):
                  return filter(lambda x: x.relation.name == name,
                                self.eqLinks)
  
              elif isinstance(name, list):
                  return filter(lambda x: x.relation.name in name,
                                self.eqLinks)
              else:
                  return None #should rise error
  
          elif self.eqLinks and neg:
  
              if isinstance(name, six.string_types):
                  return filter(lambda x: x.relation.name != name,
                                self.eqLinks)
  
              elif isinstance(name, list):
                  return filter(lambda x: x.relation.name not in name,
                                self.eqLinks)
              else:
                  return None #should rise error
          else:
              return Nonf named_eq_relations(self, name, neg=False):
          '''Returns list of named eqLinks.
  
          <name> may be string or list.
          '''
          if self.eqLinks and not neg:
  
              if isinstance(name, six.string_types):
                  return filter(lambda x: x.relation.name == name,
                                self.eqLinks)
  
              elif isinstance(name, list):
                  return filter(lambda x: x.relation.name in name,
                                self.eqLinks)
              else:
                  return None #should rise error
  
          elif self.eqLinks and neg:
  
              if isinstance(name, six.string_types):
                  return filter(lambda x: x.relation.name != name,
                                self.eqLinks)
  
              elif isinstance(name, list):
                  return filter(lambda x: x.relation.name not in name,
                                self.eqLinks)
              else:
                  return None #should rise error
          else:
              return None
docs: Returns list of named eqLinks.
  
          <name> may be string or list.