Can't. You can only check for generic type.