Check if a key exists in a Python list,"test(['important', 'comment', 'bar'])"