has_keys deprecated, replacing with 'in'