Cache the isGranted result instead of the permission query