Different approach to telling if a class is a configuration