':return: True if database contains data of a previous synchronization'

@with_session
def has_cached_criterias(self, session=None):

    if (self.__has_cached_criterias is None):
        self.__has_cached_criterias = (session.query(Category).count() > 0)
    return self.__has_cached_criterias
