code: def testIsPowerOfTwo(self):
      self.assertTrue(isPowerTwo(0))
      top = 131072
      k = 1
      while k < top:
          self.assertTrue(isPowerTwo(k))
          k *= 2
      while k < top:
          k = 2 * k + 1
          self.assertTrue(not isPowerTwo(k))
  
file_path: essentia/test/src/unittests/base/test_utils.py
imports: from essentia_test import *
  import math
  import cmath
  import sys
label_desc: Use image node_id 3 for calling the TestUtils obj's underlying member method code with example usage: obj.testIsPowerOfTwo() without return types