def getCliInstance():
	global _dbcli
	if not _dbcli:
		_dbcli = DatabaseHelper()
	return _dbcli
def visitdir(self, dir):
        dir = normalizerootdir(dir, "visitdir")
        return dir in self._dirs