boolean android.app.Activity.isFinishing() Added in API level 1
Check to see whether this activity is in the process of finishing, either because you called finish
on it or someone else has requested that it finished. This is often used in onPause
to determine whether the activity is simply pausing or completely finishing.
public boolean isDestroyed() Added in API level 17
Returns true if the final onDestroy()
call has been made on the Activity, so this instance is now dead.