React native:how to understand device is rooted?