code: def _get_disp_slsqp(disp, retall):
      if disp or retall:
          if disp:
              disp_slsqp = 1
          if retall:
              disp_slsqp = 2
      else:
          disp_slsqp = 0
      return disp_slsqp
  
file_path: statsmodels/statsmodels/base/l1_slsqp.py
imports: import numpy
  from scipy.optimize import fmin_slsqp
  import statsmodels.base.l1_solvers_common
label_desc: Use image node_id 2 for calling a global function with example usage: _get_disp_slsqp(disp, retall) and returns: disp_slsqp