Add contains method for checking if a type is already in the map.
Merge pull request #9 from reem/contains

Add contains method for checking if a type is already in the map.