attr_accessor? defined
Refactored attr_accessor? with instance_variable_get/instance_variable_set