def maybe_evaluate(value):
    if isinstance(value, lazy):
        return value.evaluate()
    return value
Evaluates if the value is a :class:`lazy` instance.
dataset/ETHPy150Open celery/kombu/kombu/utils/functional.py/maybe_evaluate