returns true if the number is power of 2