How can i check if the current assembly contains a type that is an instance of a generic type? I have class derived from a generic type like this: