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