Seems awk to give the controller presentation values like "Published" and "Not Published" versus returning a boolean and letting the template figure out presentation.