def check_enough_values(num_values, value_bits, state_bits, modulus=None):
    if modulus:
        return log(modulus, 2) * num_values >= state_bits
    else:
        return state_bits >= num_values * value_bits
dataset/ETHPy150Open ALSchwalm/foresight/foresight/utils.py/check_enough_values/swapped operands of `>=`