Changed 'isGranted' to match updated signature