mmj.cmd: using defined is cleaner