You are correct!
From our dictionary:
Pronunciation: (ep'i-taf", -tÃ¤f"), [key]
1. a commemorative inscription on a tomb or mortuary monument about the person buried at that site.
2. a brief poem or other writing in praise of a deceased person.
to commemorate in or with an epitaph.