Make a decorator function which wraps an extra argument around it that says whether or not you want to pdf the report
This could also be something that wraps additional functionality.
Basically a way to have functions that write reports share all common attributes