4) { $rights = json_decode($s, associative: true); $flipped = array_flip($rights); if (isset($flipped['developer'])) { return false; // false for Developers to see Errors/Logs } } return (!self::is_allowed()); } public static function is_allowed(): bool { $remote_ip = Security::getClientIpAddress(); if (in_array($remote_ip, self::$Public_IPs_allowed)) { return true; } if (self::isServerName_A_PrivateDomain() && in_array($remote_ip, self::$Private_IPs_allowed)) { return true; } return false; } }