remove unused isPrintingPDFFragments
function
#2333
Merged
isPrintingPDFFragments
function
#2333