moved isQQ test to new file