Small optimization in checking assertions

Just removes the `$isGranted`