Veeva Systems Interview Question

Create a function that returns true if the input is a power of 2, otherwise return false