outcome === self::VALID; } public function isInvalid(): bool { return $this->outcome === self::INVALID; } /** * Nothing was learnt. * * Callers must leave whatever they already knew alone when this is true — * see the class comment for why that is not merely cautious. */ public function isUnavailable(): bool { return $this->outcome === self::UNAVAILABLE; } }