code: def find_cairo() -> Any:
      """Tries to import the ``cairo`` Python module if it is installed,
      also trying ``cairocffi`` (a drop-in replacement of ``cairo``).
      Returns a fake module if everything fails.
      """
      module_names = ["cairo", "cairocffi"]
      module = FakeModule(
          "Plotting not available; please install pycairo or cairocffi"
      )
      for module_name in module_names:
          try:
              module = __import__(module_name)
              break
          except ImportError:
              pass
          except OSError:
              # cairocffi throws an OSError if it is installed but libcairo-2 is
              # not present on the system
              pass
      return module
  
label_desc: Use image node_id 1 for calling a global function with example usage: find_cairo() and returns: module