user class: return false if data['key'] not set