def check_exists(name):
 if (name in checks_list()):
  log.debug('[uptime] found {0} in checks'.format(name))
  return True
 return False

def check_exists ( name ) : if ( name in checks_list ( ) ) : log . debug ( '[uptime] found {0} in checks' . format ( name ) ) return True return False
check if a given url is in being monitored by uptime cli example: .