canShowConsentForm

Whether the host is on screen and can legally host a consent form.

Falls back to isAlive for activities that are not LifecycleOwners, which keeps the check usable for hosts created by consumers that do not extend the AndroidX activity classes.