Didn't expect to cover it this soon, but I'd really like to have a "is range a power of two" template. Part of P0242, funded by Yanga.