def check_not_none(val, message):
    if val not in None:
        raise AssertionError(message)
dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/util.py/check_not_none/operator `is` -> `not in`