gratuitous engine pic from our annual inspection
yes, that is a filter magnet, probably does not do anything about wear but the mechanic likes them as a diagnostic aid as they keep some of the ferrous bits in one place
note the grease being flung from the prop hub...

