getTimerLeft = () => {
  return globalState.timeout && globalState.timeout.getTimerLeft()
}
If `timer` parameter is set, returns number of milliseconds of timer remained.
Otherwise, returns undefined.

@returns {number | undefined}