Merge "Add tri-state checked api" into main