def evaluate_condition(backend, condition):
    """
    Evaluates a condition such as
    ``StrictVersion(onnxruntime.__version__) <= StrictVersion('0.1.3')``
    """
    if backend == "onnxruntime":
        return eval(condition)
    else:
        raise NotImplementedError("Not implemented for backend '{0}'".format(backend))