Basically, yes. The $level identifier works with the address of the nick. Since the nick is in $2 and you need to identify the address in the same format as it is stored in the userlist (reference $mask). So it's $level($address(nick,mask)) to compare to $ulevel, which is the level of the user initiating the process.