Boolean check

Works great, thanks a lot!