<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _if(ctx, logical_test, value_if_true=0, value_if_false=False):
 """ Returns one value if the condition evaluates to TRUE, and another value if it evaluates to FALSE """

    return value_if_true if conversions.to_boolean(logical_test, ctx) else value_if_false