Actor == actor, alternative to casting?

Thank you!