Judge whether present user is root in Bash

[[ `id -u` -ne 0 ]] && echo "Not root" || echo "Is root"