function isPowerOfTwo( value ) {

	return ( value & ( value - 1 ) ) === 0 && value !== 0;

}
Returns `true` if the given number is a power of two.

@param {number} value - The value to check.
@return {boolean} Whether the given number is a power of two or not.