added method to check is a entry will be saved