public static function hasFlash($key) { FW::sessionStart(); return isset($_SESSION['FW_FLASH']) && isset($_SESSION['FW_FLASH'][$key]); }