It’s not a character. hierarchy is as follows
AActor
|- APawn
|- ATank
Because the ATankPlayerController
will only be used to control ATank
's. From a coding stand point it could be but we know it won’t be.
Edit: on second thought I believe you’re asking why there’s no check there? Because there’s no dereferencing happening there.