code: def _has_intercept(design_info):
      from patsy.desc import INTERCEPT
  
      return INTERCEPT in design_info.terms
  
file_path: statsmodels/statsmodels/formula/formulatools.py
imports: import statsmodels.tools.data
  from patsy import dmatrices, NAAction
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: _has_intercept(design_info) and returns: unknown