nodeConfig['allowed_ports'] ?? [], true)) { return false; } foreach ($this->nodeConfig['allowed_cidrs'] ?? [] as $cidr) { if (is_string($cidr) && PolicyChecker::cidrContains($cidr, $host)) { return true; } } return in_array($host, $this->nodeConfig['allowed_hosts'] ?? [], true); } }