add check for expression source in write_expression (#5750)
add check for expression source in write_expression (#5750)


cseed/hail,danking/hail,cseed/hail,cseed/hail,cseed/hail,cseed/hail,hail-is/hail,danking/hail,cseed/hail,danking/hail,hail-is/hail,hail-is/hail,danking/hail,cseed/hail,hail-is/hail,danking/hail,hail-is/hail,cseed/hail,danking/hail,hail-is/hail,danking/hail,danking/hail,hail-is/hail,hail-is/hail