get isBot() {
        // @ts-expect-error - `sender` key is currently not present in all events
        // see https://github.com/octokit/webhooks/issues/510
        return this.payload.sender.type === "Bot";
    }
Returns a boolean if the actor on the event was a bot.
@type {boolean}