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. This prevents an ClassNotFoundException in AndroidGraphics. My bad.