Can't just add this check at the beginning and return if already granted? _Originally posted by @marco-ippolito in https://github.com/nodejs/node/pull/56591#discussion_r1913759814_