Review the initial attempt and feedback in https://github.com/sindresorhus/active win/pull/90 to understand the desired method and design decisions. Examine the current codebase in get windows to find where to add the method and any existing permission related code. Implement the method following the feedback from that PR and add tests.
Add `isAccessGranted` method · sindresorhus/get-windows#100 | Good First Issue