code: def is_secondary_ref(self, en: str) -> bool:
          
          if not self.gen_classes:
              return True
          elif en in self.schema.classes:
              return en in self.gen_classes_neighborhood.classrefs
          elif en in self.schema.slots:
              return en in self.gen_classes_neighborhood.slotrefs
          elif en in self.schema.types:
              return en in self.gen_classes_neighborhood.typerefs
          else:
              return True
docs: Determine whether 'en' is the name of something in the neighborhood of the requested classes
  
          @param en: element name
          @return: True if 'en' is the name of a slot, class or type in the immediate neighborhood of of what we are
          building