code: def check_epsilon(epsilon, name="epsilon"):
      if not isinstance(epsilon, float):
          raise ParameterCheckError(name + " must be float")
  
      if not 0 < epsilon < 1:
          raise ParameterCheckError(name + " must be in (0,1) range")
  
      return epsilon
  
imports: import numpy
  from .._basics.exceptions import ParameterCheckError
  from ..._explainer import helper
label_desc: Use image node_id 3 for calling a global function with example usage: check_epsilon(epsilon, name) and returns: epsilon