fixed #1

Detail:
- Modified containsKey from isset() to array_key_exists()