code: def _validate_input_value(value, exp_space, namespace):
      is_valid = False
  
      try:
          value = eval(value)
          is_valid = value in exp_space[namespace]
      except (NameError, SyntaxError):
          is_valid = value in exp_space[namespace]
  
      return is_valid, value
  
file_path: orion/src/orion/core/cli/insert.py
imports: import collections
  import logging
  import os
  import re
  from orion.core.cli import base
  from orion.core.io import experiment_builder
  from orion.core.io.convert import infer_converter_from_file_type
  from orion.core.utils.format_trials import tuple_to_trial
label_desc: Use image node_id 4 for calling a global function with example usage: _validate_input_value(value, exp_space, namespace) and returns: is_valid,  value