One test if compost finished.
Put three cups of compost in a sealed plastic bag. Let it stand overnight at room temperature. If the bag has expanded when you check in the morning, the compost is unfinished. Turn the pile and test again in a few weeks.
See the following for other tests and info.