code: def _contains_tuple(json_compat_obj):
      x = json_compat_obj
      if isinstance(x, tuple):
          return True
      elif isinstance(x, list):
          return any(map(_contains_tuple, x))
      elif isinstance(x, dict):
          # Don't check keys since we are assuming x is JSON-compatible.
          # JSON-compatible keys are either number or string.
          return any(map(_contains_tuple, x.values()))
      else:
          return False
  
imports: import json
  import pickle
  import pytest
  from copy import copy, deepcopy
  from sacred.config.custom_containers import make_read_only, ReadOnlyList, ReadOnlyDict
  from sacred.utils import SacredError
label_desc: Use image node_id 1 for calling a global function with example usage: _contains_tuple(json_compat_obj) and returns: True, any, any, False