has patient 26777 had any surgery since 6 years ago?
select count(*)>0 from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26777 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-6 year')