def try_(module, return_try_exception=False, **kwargs):
 try:
  return __salt__[module](**kwargs)
 except Exception as e:
  if return_try_exception:
   return e
 return None

def try_ ( module , return_try_exception = False , ** kwargs ) : try : return __salt__ [ module ] ( ** kwargs ) except Exception as e : if return_try_exception : return e return None
try to run a module command .