You can use a meat thermometer and place it in the center of your shepherd's pie to see if it's done cooking. It should read at least 165 degrees F.