Return True if resource is enabled and available. The list of available resources is only set when test.regrtest is executing the tests.
test.support/is_resource_enabled
is_resource_enabled