shouldHide_(time, type) {
    const end = this.options_.end;

    return isNumber(end) ? time >= end : end === type;
  }
Determine whether or not the overlay should hide.

@param  {Number} time
        The current time reported by the player.
@param  {String} type
        An event type.
@return {Boolean}