IMPORTANT NOTICE: Please be advised that the Verification Academy Forums will be offline for scheduled maintenance on Sunday, November 8th at 3:00 AM US/Pacific.
Yes, but why do this unnecessary step and get the correctly typed class in the first place? Also, you will get compiler errors if you do not get it right, otherwise a $cast error is at run-time.