code: def lookup_cudf_type(val):
      if not str(val.type.unqualified()).startswith("cudf::"):
          return None
      suffix = str(val.type.unqualified())[6:]
      if not is_template_type_not_alias(suffix):
          return None
      if template_match(suffix, "host_span"):
          return CudfHostSpanPrinter(val)
      if template_match(suffix, "device_span"):
          return CudfDeviceSpanPrinter(val)
      return None
  
file_path: cudf/cpp/scripts/gdb-pretty-printers.py
imports: import gdb
label_desc: Use image node_id 1 for calling a global function with example usage: lookup_cudf_type(val) and returns: None, None, None, CudfHostSpanPrinter, CudfDeviceSpanPrinter