import ipaddress


def is_valid_ip_address(value):
    """Validate if parameter is a valid ip address."""
    try:
        ipaddress.ip_address(value)
        return True
    except ValueError:
        return False