def METHOD_NAME(host, port):
  """
  Return true if this host:port pair is allowed to be proxied.
  """
  # Check explicit whitelist
  hostport = "%s:%d" % (host, port)
  for regexp in conf.WHITELIST.get():
    if regexp.match(hostport):
      return True
  return False