Use respond_to? checking accessible_attributes

respond_to? will return a boolean vs. defined? returning a string, so this is a bit cleaner.