

def check_not_empty(collection, message):
    if (not collection):
        raise AssertionError(message)

dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/util.py check_not_empty/original