Check whether list of generics contains a type, that implements interface - C#