code: func (u *UserInterface) isFullscreen() bool {
  	if !u.isRunning() {
  		panic("ui: the game must be running at isFullscreen")
  	}
  	return u.window.GetMonitor() != nil
  }
docs: // isFullscreen must be called from the main thread.