atomic: check for defined, not non-zero