used static isCordova method