code: def _get_unique_input_types(input_types):
      types = set()
      for input_type in input_types:
          if isinstance(input_type, list):
              types |= _get_unique_input_types(input_type)
          else:
              types.add(str(input_type))
      return types
  
imports: import importlib.util
  import os
  from inspect import getfullargspec, getsource, isclass
  from typing import Dict, List
  import pandas
  from woodwork import list_logical_types, list_semantic_tags, type_system
  from woodwork.column_schema import ColumnSchema
  from woodwork.logical_types import NaturalLanguage
  import featuretools
  from featuretools.primitives import NumberOfCommonWords
  from featuretools.primitives.base import AggregationPrimitive, PrimitiveBase, TransformPrimitive
  from featuretools.utils.gen_utils import Library, find_descendents
label_desc: Use image node_id 14 for calling a global function with example usage: _get_unique_input_types(input_types) and returns: types