downcase for True string, return true or false for attribute_defined?, update rspec and fix specs