src/Functions/ExtendedOperations/ValidityFunctions.php
public function isValidIP4(string $ipAddress): bool
    {
        return (bool) filter_var($ipAddress, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_RES_RANGE);
    }
public function isValidIP4(string $ipAddress): bool
    {
        return (bool) filter_var($ipAddress, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_RES_RANGE);
    }
public function isValidIP4 ( string $ ipAddress ) : bool { return ( bool ) filter_var ( $ ipAddress , FILTER_VALIDATE_IP , FILTER_FLAG_IPV4 | FILTER_FLAG_NO_RES_RANGE ) ; }
Basic IP4 validation, private and reserved ranges.

@param string $ipAddress The IP Address

@return bool
Basic IP4 validation private and reserved ranges .