Core/Unit: added function IsMagnet to identify magnet units (grounding totem)