code: def plugins(cls, enabled=True):
          
          cls.loadPlugins()
          plugs = getattr(cls, '_%s__plugins' % cls.__name__, {}).values()
          if enabled is None:
              return plugs
  
          return filter(lambda x: x.isEnabled() == enabled, plugs)
docs: Returns the plugins for the given class.
          
          :param      enabled | <bool> || None
          
          :return     [<Plugin>, ..]