Added IsSingleBit method.