Checks for single bits within an integer