def validate_ip_address(ip_addr):
    """
    Check if an IP address is valid.

    :param ip_addr: IP address
    :returns: True / False: if valid / invalid.
    """
    l, parts = len(ip_addr), ip_addr.split('.')
    if l < 7 or l > 16:
        return False
    if not len(parts) == 4:
        return False
    if not all(0 <= int(p) < 256 for p in parts):
        return False
    return True