Please help me identify this broken part(?) from my 904!

Yeah does look like a magnet piece being black inside...is it magnetic?

100% sure it's metal and not old hardened rubber?