has_flash_object?(name=nil)
Does the specified flash object exist?
# File actionpack/lib/action_controller/test_process.rb, line 236 def has_flash_object?(name=nil) !flash[name].nil? end