Using reflection to figure out if the application is native or hybrid