code: def filtered_cls_slots(self, cn: ClassDefinitionName, all_slots: bool=True) \
              -> List[SlotDefinitionName]:
          
          rval = []
          cls = self.schema.classes[cn]
          cls_slots = self.all_slots(cls, cls_slots_first=True)
          for slot in cls_slots:
              if all_slots or slot.range in self.schema.classes:
                  rval.append(slot.name)
  
          return rval
docs: 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