code: def get_polycollection(server, raise_if_not_available=False):
      try:
          from matplotlib.collections import PolyCollection as polycoll
  
          return polycoll
      except ImportError as e:
          if raise_if_not_available:
              raise e
          print("`matplotlib` library is required for this function!")
          return None
  
label_desc: Use image node_id 2 for calling a global function with example usage: get_polycollection(server, raise_if_not_available) and returns: polycoll, None