def is_secondary_ref(self, en: str) -> bool:
if not self.gen_classes:<EOL><INDENT>return True<EOL><DEDENT>elif en in self.schema.classes:<EOL><INDENT>return en in self.gen_classes_neighborhood.classrefs<EOL><DEDENT>elif en in self.schema.slots:<EOL><INDENT>return en in self.gen_classes_neighborhood.slotrefs<EOL><DEDENT>elif en in self.schema.types:<EOL><INDENT>return en in self.gen_classes_neighborhood.typerefs<EOL><DEDENT>else:<EOL><INDENT>return True<EOL><DEDENT>
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