import operator


def between(min_value, value, max_value, partial_order=operator.le):
    """Check if Value is Inbetween Min and Max."""
    return partial_order(min_value, value) and partial_order(value, max_value)