Could we set a class variable on the ``AppConfig`` class instead, something like ``is_app_config = True``? Then we can duck it, just checking to see that's present.

Perhaps it's just me, but I've been bitten by ``isinstance/issubclass`` too many times, especially when people vendor code or when there's a genuine reason to have a different base class. OTOH, that may be overkill here.