A simple linq like object filter.