Added isGranted helper