adding hasMessage into FlashMessenger