Statically determine if an adapter is enabled.
Catch intentionally throw exception in `AdaptableTest`.