Manual:Hooks/IsTrustedProxy

Details
$ip - The IP address of the proxy.

$trusted - A bool indicating the IP is or isn't trusted.