edsu/pymarc — pull request #43 by DavidChouinard (2013-11-24 14:14:32+00:00)
Title: Added support of shorthand membership testing for records and fields

Pymarc supports shorthand notation (eg `record['245']`) for accessing tags and I expected being able to do membership testing following the equivalent convention (`'245' in record`) but was caught off guard.

I've added support for `__contains__` to both records and fields and added the appropriate tests.