General Motors (GM) Interview Question

Given an integer, output whether that integer is a power of two or not.