Do you really want to send jliszka a message saying you like their work?
(b & (b-1)) == 0
Visit the counting 1 bits node for a good explanation of why this works.