多项选择题

判断某个key是否在字典d中存在,以下做法正确且严谨的是:()

A.’key’ind.keys()
B.d.get(’key’)isnotNone
C.hasattr(d,’key’)
D.’key’ind