Yeah, pretty much. The off one is an or gate (a NAND with another NAND on either input) but I could have just as well used an AND gate (two NANDs in series) and the on one is just one NAND.