started work on a type trait to detect whether a class is an instance of a template