def METHOD_NAME(jexl, case, user, prev_work_item, context=None):
    if jexl:
        evaluated = FlowJexl(
            case=case, user=user, prev_work_item=prev_work_item, dynamic_context=context
        ).evaluate(jexl)
        if not isinstance(evaluated, list):
            evaluated = [evaluated]
        return evaluated
    return []