def job_exists(name=None):
 if (not name):
  raise SaltInvocationError('Required parameter `name` is missing.')
 server = _connect()
 if server.job_exists(name):
  return True
 else:
  return False

def job_exists ( name = None ) : if ( not name ) : raise SaltInvocationError ( 'Required parameter `name` is missing.' ) server = _connect ( ) if server . job_exists ( name ) : return True else : return False
check whether the job exists in configured jenkins jobs .