The sysctl command isn't available on specific kernel configurations. You could try running `unshare -Urn`. If it runs without sudo (and you haven't configured any specific permissions yourself), unprivileged namespaces are enabled.
I don't think it's in the upstream kernel - various distros carry it as a patch. Maybe yours doesn't?