def METHOD_NAME():
  if not _ENDPOINT.value:
    logging.info('Invalid arguments, no endpoint provided.')
    return 1
  print(
      poll(_ENDPOINT.value, _HEADERS.value, _MAX_RETRIES.value,
           _RETRY_INTERVAL.value, _TIMEOUT.value, _EXPECTED_RESPONSE_CODE.value,
           _EXPECTED_RESPONSE.value))
  return 0