check if key 'key1' in `dict`,('key1' in dict)