Meteor check rooted device

Can meteor check if a device is rooted or jailbreak, Please advise if there is a way

You can use any Cordova plugin in combination with Meteor, f.e. https://www.npmjs.com/package/cordova-plugin-root-detection