added method to check if a entry will be saved