src/EmailServiceClient.php
private function isTrustedIpAddress($ipAddress)
    {
        foreach ($this->trustedIpRanges as $trustedIpBlock) {
            if ($trustedIpBlock->containsIP($ipAddress)) {
                return true;
            }
        }

        return false;
    }
private function isTrustedIpAddress($ipAddress)
    {
        foreach ($this->trustedIpRanges as $trustedIpBlock) {
            if ($trustedIpBlock->containsIP($ipAddress)) {
                return true;
            }
        }

        return false;
    }
private function isTrustedIpAddress ( $ ipAddress ) { foreach ( $ this -> trustedIpRanges as $ trustedIpBlock ) { if ( $ trustedIpBlock -> containsIP ( $ ipAddress ) ) { return true ; } } return false ; }
Determine whether the service's IP address is in a trusted range.

@param string $ipAddress The IP address in question.
@return bool
Determine whether the service s IP address is in a trusted range .