def _valid_composer(composer):
 if salt.utils.which(composer):
  return True
 return False

def _valid_composer ( composer ) : if salt . utils . which ( composer ) : return True return False
validate the composer file is indeed there .