Yes, it would. Aluminum is a conductor, and the glass would prevent electricity from transferring to a person holding the wire.
In this design, aluminum carries the electric current effectively, while the glass acts as an insulator, providing safety by preventing accidental electrical contact.