had patient 12454 been diagnosed with any disease on their last hospital visit?
select count(*)>0 from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12454 and admissions.dischtime is not null order by admissions.admittime desc limit 1 )