Removed 'has_key', replaced with 'in'