shows method

bool shows(
  1. AgentGuardTarget target
)

The guard's verdict on target as a read, for reads that enumerate: an entry the guard would refuse is left out of their answer.

Implementation

bool shows(AgentGuardTarget target) =>
    agentGuard(scope, target, write: false) == null;