Yes that's what it means but usually when you're talking about past hypotheticals you use past perfect in the if clause as in If she had come to the party she would have enjoyed it.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.