code: def is_callable(obj):
      """
  
      Parameters
      ----------
      `obj` - the object to be checked
  
      Returns
      -------
      validator - returns True if object is callable
          raises ValueError otherwise.
  
      """
      if not callable(obj):
          raise ValueError("Value must be a callable")
      return True
  
imports: from collections import namedtuple
  from contextlib import contextmanager
  import re
  import warnings
  import pandas.compat
  from pandas.compat import lmap, map, u
label_desc: Use image node_id 22 for calling a global function with example usage: is_callable(obj) and returns: True