has patient 31854 had any medication prescribed in 12/2105?
select count(*)>0 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) and strftime('%y-%m',prescriptions.startdate) = '2105-12'