code: def build_plugin_contexts(enabled=True):
      """Returns contexts for all available plugins.
  
      Args:
          enabled (True): whether to include only enabled plugins (True) or only
              disabled plugins (False) or all plugins ("all")
  
      Returns:
          a list of :class:`PluginContext` instances
      """
      plugin_contexts = []
      for pd in fop.list_plugins(enabled=enabled):
          pctx = PluginContext(pd)
          pctx.register_all()
          plugin_contexts.append(pctx)
  
      return plugin_contexts
  
imports: import importlib
  import logging
  import os
  import sys
  import traceback
  import fiftyone
  import fiftyone.plugins
  from fiftyone.operators.decorators import plugins_cache
  from fiftyone.operators.operator import Operator
label_desc: Use image node_id 1 for calling a global function with example usage: build_plugin_contexts(enabled) and returns: plugin_contexts