Report question

Question: Android: How can I detect if the Back button will exit the app (i.e. this is the last activity left on the stack)?