code: def of_type(x, *types):
      if is_any(type(x), *types):
          return x
      else:
          raise CannotEval
  
imports: from collections import OrderedDict, deque
  from datetime import date, time, datetime
  from decimal import Decimal
  from fractions import Fraction
  import ast
  import enum
  import typing
label_desc: Use image node_id 2 for calling a global function with example usage: of_type(x) and returns: x