Added new validation to fnIsValidFormat()

Added new validation for IPv4 to fnIsValidFormat()