'Checks if database in given path exists
:param path: path to look for database'

def exists(self, path=None):

    if (not path):
        path = self.path
    if (not path):
        return False
    if os.path.exists(path):
        return os.path.exists(os.path.join(path, '_indexes'))
    return False
