code: def load(image_name, as_grey=None):
      """
      Loads a demo image
  
      Parameters
      ----------
      image_name : str
          Name of one of the demo images
      as_grey : bool, optional
          Whether to convert to greyscale
  
      Returns
      -------
      im : ndarray
          Image
      """
      from os import path
      import mahotas as mh
  
      _demo_images = {
          "wally": "DepartmentStore.jpg",
          "departmentstore": "DepartmentStore.jpg",
          "lenna": "lena.jpg",
          "lena": "lena.jpg",
          "luispedro": "luispedro.jpg",
          "nuclear": "nuclear.png",
      }
      if image_name.lower() not in _demo_images:
          raise KeyError(
              'mahotas.demos.load: Unknown demo image "{}", known images are {}'.format(
                  image_name, list(_demo_images.keys())
              )
          )
  
      image_name = image_path(_demo_images[image_name.lower()])
      return mh.imread(image_name, as_grey=as_grey)
  
label_desc: Use image node_id 2 for calling a global function with example usage: load(image_name, as_grey) and returns: mh