The first part of this should be `return $checkedOut ? '' : '<input whatever`