def value_len_eq_2(value):
    """
    Validates that the length of the paramter is equal to 2.

    Assumes that value is an interable.

    Returns:
        int: 0 (FAIL) if length != 2, otherwise 1 (PASS).
    """
    if len(value) != 2:
        return 0
    return 1