@classmethod
def can_use_order_function(cls, order_function):
    """Fail if the engine can't be used with an empty order parameter."""
    if order_function is None and cls.needs_order:
        raise ValueError(
            'No order parameter was defined, but the engine *does* require it.'
            )
