has_flash?()
Do we have a flash?
# File actionpack/lib/action_controller/test_process.rb, line 226 def has_flash? !flash.empty? end