Added isGranted with third parameter to documentation.