Polymorphic rfn3::contains

This makes the pub `contains` work om dictionaries too.