Write a function that accepts an integer as an argument, and returns a boolean.
<p>This is an interview question:</p>

<ol>
<li>Write a function that accepts an integer as an argument, and returns a boolean. The returned boolean is true if the integer is an exponential (power) of two, false otherwise.
a. No math libraries or bitwise operations, only + - * / %
b. 1 is the zeroth power of two.
c. No floats, so no "negative powers."
d. Non-powers should generally be identified faster than powers.
e. Any language, though general overlap with desired position is wise.</li>
</ol>

<p>I am really rough on booleans as I haven't taken my Java class in a year or so any help or ideas would be greatly appreciated.</p>
