isInProtectedNamespace function
Conservative check for whether Neomage is running inside a protected (privileged or ASL3+) COO namespace or cluster.
Implementation
bool isInProtectedNamespace() {
if (Platform.environment['USER_TYPE'] == 'ant') {
// In the Dart port the protected-namespace module is not available.
// Return false for external builds.
return false;
}
return false;
}