def is_power2(num):
    return num != 0 and ((num & (1 - num)) == 0)
dataset/ETHPy150Open kleientertainment/ds_mod_tools/pkg/cmn/mod_tools/compiler_scripts/image_build.py/is_power2/swapped operands of `-`