DRY containsBit() && containsNotBit()

being a bit insane :p