code: def get_plugins(self, filter_function=None):
          
          plugins = self.plugins
          if filter_function is not None:
              plugins = filter_function(plugins)
          return plugins
docs: Gets out the plugins from the internal state. Returns a list object.
          If the optional filter_function is supplied, applies the filter
          function to the arguments before returning them. Filters should
          be callable and take a list argument of plugins.