@staticmethod
def validate(data):
    """
        Validates `data` for use in this container
        """
    return hasattr(data, 'count') and callable(data.count) and hasattr(data,
        'order_by') and callable(data.order_by)
