Is there anyway I can optimise this bit of code?

PHP Code:
<?php if($data["foo"]):?>
     <option value="0">No</option>
     <option selected="selected" value="1">Yes</option><?php
else: ?>
     <option selected="selected" value="0">No</option>
     <option value="1">Yes</option><?php
endif; ?>
$data["foo"] is always boolean