Is there a case though where the activity is detached, but the fragment still has an out of date reference to it?

Still happy to take the null check out if you feel its overly defensive.