Adding convenience method to test if object exists in container.
Merge pull request #309 from ycombinator/object-exists

Adding convenience method to test if object exists in container.
Modifying formatting/logic
Fixing wrong interface namespace