<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def schedule_branches(b: bool, quoted_true, quoted_false):
 """ Helper function to choose which workflow to execute based on the boolean `b`. :param b: promised boolean value :param quoted_true: quoted workflow to eval if the boolean is true. :param quoted_true: quoted workflow to eval if the boolean is false. """

    if b:
        return unquote(quoted_true)
    else:
        return unquote(quoted_false)