code: def verify_basic_type(a_dict_list, basic_types=None):
      basic_types = (
          (
              float,
              int,
              bool,
              six.string_types,
          )
          if not basic_types
          else tuple(
              b for b in basic_types if b not in (list, tuple, dict)
          )
      )
  
      if isinstance(a_dict_list, basic_types):
          return True
      if isinstance(a_dict_list, (list, tuple)):
          return all(
              verify_basic_type(v, basic_types=basic_types)
              for v in a_dict_list
          )
      elif isinstance(a_dict_list, dict):
          return all(
              verify_basic_type(k, basic_types=basic_types)
              for k in a_dict_list.keys()
          ) and all(
              verify_basic_type(v, basic_types=basic_types)
              for v in a_dict_list.values()
          )
  
imports: import itertools
  import json
  from copy import copy
  from logging import getLogger
  import six
  import yaml
label_desc: Use image node_id 1 for calling a global function with example usage: verify_basic_type(a_dict_list, basic_types) and returns: True, all, unknown