def _has_dctrl_tools():
 try:
  return __context__['pkg._has_dctrl_tools']
 except KeyError:
  __context__['pkg._has_dctrl_tools'] = __salt__['cmd.has_exec']('grep-available')
  return __context__['pkg._has_dctrl_tools']

def _has_dctrl_tools ( ) : try : return __context__ [ 'pkg._has_dctrl_tools' ] except KeyError : __context__ [ 'pkg._has_dctrl_tools' ] = __salt__ [ 'cmd.has_exec' ] ( 'grep-available' ) return __context__ [ 'pkg._has_dctrl_tools' ]
return a boolean depending on whether or not dctrl-tools was installed .