Android (fragment): Added isFragment method

This allows us to make check if the app is a fragment without having the
developer depend on the support jar