(condition, message)
Check a condition on input value.

    Raises ValueError with message if condition is not True
Check a condition on input value.
Check a condition on input value .
def _value_check(condition, message):
    """
    Check a condition on input value.

    Raises ValueError with message if condition is not True
    """
    if condition != True:
        raise ValueError(message)
def _value_check ( condition , message ) : if condition != True : raise ValueError ( message )