@staticmethod
def verify_condition(_data, _collection_name, _caller_name):
    """
        Validates the conditions' structure and the collection it queries.

        :param _data: The data to check.
        :param _collection_name: Name of the collection that it should be checked against
        :param _caller_name: The name of the calling function for logging

        """
    if 'conditions' not in _data:
        raise Exception(_caller_name +
            ': Error - Not a valid condition, "conditions"-property missing')
    if 'collection' in _data and _data['collection'] != _collection_name:
        raise Exception(_caller_name +
            ': Error - collection omitted or wrong, only queries against the '
             + _collection_name + ' collection is permitted.')
