docs: def load_toolbar_item(import_path, *args, **kwargs):
      """
      Load an item in the toolbar
      :param import_path: the dotted python path to class or function.
      :param args: For classes, any arguments to pass to the constructor.
      :param kwargs: For classes, any keyword arguments to pass to the constructor.
      """
      if isinstance(import_path, (tuple, list)):
          children = [load_toolbar_item(path) for path in import_path]
          return Group(*children)
      elif isinstance(import_path, basestring):
          symbol = _import_symbol(import_path, 'STAFF_TOOLBAR_ITEMS')
      else:
          symbol = import_path
  
      if inspect.isclass(symbol):
          # Instantiate the class.
          symbol = symbol(*args, **kwargs)
  
      if not callable(symbol):
          raise ImproperlyConfigured("The {0} in {1} is not callable!".format(import_path, 'STAFF_TOOLBAR_ITEMS'))
  
      return symbol