How about `!!statusmsg.match(/Client exists/i)`?