Use KeyExists for Contains method

Simply check if the key exists instead of getting the whole object
Merge pull request #1 from vobreshkov/patch-1

Use KeyExists for Contains method