def is_value_in(constants_group, value):
    """
    Checks whether value can be found in the given constants group, which in
    turn, should be a Django-like choices tuple.
    """
    for const_value, label in constants_group:
        if const_value == value:
            return True
    return False