code: def _validate_number(value):
      if not isinstance(value, numbers.Number) or isinstance(
          value, bool
      ):
          raise ValueError("{} is not a number.".format(value))
  
file_path: AIX360/aix360/algorithms/rule_induction/trxf/core/feature.py
imports: import numbers
  import tokenize
  from io import BytesIO
  from typing import Dict, Any
label_desc: Use image node_id 5 for calling a global function with example usage: _validate_number(value) without return types