function isValidEventName(name) {
      return caseChecker(name) || name.startsWith('update:')
    }
Check whether the given event name is valid.
@param {string} name The name to check.
@returns {boolean} `true` if the given event name is valid.