code: def get_registered_collection_resources():
      
      reg = get_current_registry()
      return [util.component
              for util in reg.registeredUtilities()
              if util.name == 'collection-class']
docs: Returns a list of all registered collection resource classes.