Basically I want to check if a class is instance of the provided interface. I have a method with this signature:
public ICard draw(Class<? extends ICardType> type)