def closeConnection_jdbc():
    logger = logging.getLogger(__name__)
    #global connection
    try:
        _ = threadVar.connection
    except:
        threadVar.connection = None

    if (threadVar.connection != None) and (threadVar.connection.closed == False):
        threadVar.connection.close()
        logger.info("Disconnect meta database.")
        threadVar.connection = None
dataset/ETHPy150Open harryliu/edwin/edwinServer/common/database_meta.py/closeConnection_jdbc/operator `is not` -> `!=`