code: def _isfloat(x):
      """
      returns True if x is a float,
      returns False otherwise
      """
      try:
          float(x)
      except:
          return False
  
      return True
  
file_path: statsmodels/statsmodels/stats/libqsturng/qsturng_.py
imports: from statsmodels.compat.python import lrange
  import math
  import scipy.stats
  import numpy
  from scipy.optimize import fminbound
label_desc: Use image node_id 1 for calling a global function with example usage: _isfloat(x) and returns: True, False