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