I don't think it's necessary. We just want to check if it has focus. No need to verify that it is the correct element type (it has to be).