transform_logical_yes_no function

Transform Logical to Yes/No and Vice Versa