public function grantsAccess(): bool
    {
        $content = array_filter(file((string) $this->file));

        foreach ($content as $line) {
            if ($this->hasRequireGranted($line)) {
                return true;
            }
        }

        return false;
    }