code: def show_welcome_message(self):
          
          # import here only so that it is AFTER i18n set up
          from safe.gui.tools.options_dialog import OptionsDialog
  
          # Do not show by default
          show_message = False
  
          previous_version = StrictVersion(setting('previous_version'))
          current_version = StrictVersion(inasafe_version)
  
          # Set previous_version to the current inasafe_version
          set_setting('previous_version', inasafe_version)
  
          if setting('always_show_welcome_message', expected_type=bool):
              # Show if it the setting said so
              show_message = True
          elif previous_version < current_version:
              # Always show if the user installed new version
              show_message = True
  
          # Allow to disable welcome message when running automated tests
          if os.environ.get('INASAFE_DISABLE_WELCOME_MESSAGE', False):
              show_message = False
  
          if show_message:
              dialog = OptionsDialog(
                  iface=self.iface,
                  parent=self.iface.mainWindow())
              dialog.show_welcome_dialog()
              if dialog.exec_():  # modal
                  self.dock_widget.read_settings()
docs: Show the welcome message.