Robert Bosch Interview Question

Determine whether a given number is a power of 2 using binary representation and bitwise operations.