how to retrieve a value if a checkbox is checked

You need to first get the post meta value that Fieldmanager writes to your database for the checkbox. This answer can help you.

Then you can properly set $in_update and do this test:

elseif ( /* VALUE WHEN YOUR CHECKBOX IS CHECKED */ == $in_update ) {
    echo '<span class="...';
}