check if key exists
Merge pull request #3 from jacekjursza/master

check if key exists