implemented isGranted(...)