Checkbox bug when prepopulating it with table data

Hello guys, i need your help solving an issue I am using a checkbox to mark yes and no. the issue is have created am update form that pre-populates with data already present on the table selected row using {{}}. the issue is if the column reads no and I open the form the check box is marked as yes.
illustration below

Solution is to have an if statement like this : {{ == "No" ? false : true}}