parameters: (num)
return_statement: return num != 0 and ((num & (num - 1)) == 0)
docstring: Returns true if a number is a power of two
docstring_summary: Returns true if a number is a power of two
docstring_tokens: Returns true if a number is a power of two
function: def is_power2(num):
      """ Returns true if a number is a power of two """
      return num != 0 and ((num & (num - 1)) == 0)
function_tokens: def is_power2 ( num ) : return num != 0 and ( ( num & ( num - 1 ) ) == 0 )