function isPow2(v) {
    return !(v & (v - 1)) && (!!v);
}
Checks if a number is a power of two.
@function isPow2
@memberof PIXI.utils
@param {number} v - input value
@returns {boolean} `true` if value is power of two