code: def cls_names(cls, wanted_cls, registered=True):
      
      return [
          fset.name
          for fset in cls_sets(cls, wanted_cls, registered=registered)
      ]
docs: Return a list of attributes for all `wanted_cls` attributes in this
          class, where `wanted_cls` is the desired attribute type.