It's not checked. If it's not in the path, this message is printed, which I think is enough for anyone working with b2g and interested in localStorage to figure out what is wrong:

    *** ERROR: Pulling from b2g:  Command failed: /bin/sh: adb: command not found