def filtered_cls_slots(self, cn: ClassDefinitionName, all_slots: bool=True)-> List[SlotDefinitionName]:
rval = []<EOL>cls = self.schema.classes[cn]<EOL>cls_slots = self.all_slots(cls, cls_slots_first=True)<EOL>for slot in cls_slots:<EOL><INDENT>if all_slots or slot.range in self.schema.classes:<EOL><INDENT>rval.append(slot.name)<EOL><DEDENT><DEDENT>return rval<EOL>
Return the set of slots associated with the class that meet the filter criteria.  Slots will be returned
        in defining order, with class slots returned last

        @param cn: name of class to filter
        @param all_slots: True means include attributes
        @return: List of slot definitions