def validate_nip(nip):
    """Validate NIP.

    :param nip: nip to validate
    :return: True if nip is valid, False otherwise
    """
    nip_digits = list(map(int, nip))
    args = (6, 5, 7, 2, 3, 4, 5, 6, 7)
    sum_v = sum(map(lambda x: x[0] * x[1], zip(args, nip_digits)))
    checksum_digit = sum_v % 11
    return nip_digits[-1] == checksum_digit