Add method isGranted.