Yeah, basically. A cadence is a harmonic progression at the end of a phrase. In classical music it's usually V-I. Sometimes you'll hear IV-I (plagal, aka "amen" cadence), but it's actually fairly rare outside of church music. However, internally, within a phrase of music, you might see IV-I more often. A fairly common example: I-IV-I-V-I.