Check for interface, not for class