@staticmethod
def hasMetadata(cls):
    """ Check if the given class *cls* has a metadata

            :param cls: the entity class
            :type  cls: type
            :rtype:     bool
        """
    return '__tdbm__' in dir(cls)
