def set_batch(self, batch: bool):
self.batch = batch<EOL>
This method sets the batch attribute for the SASsession object; it stays in effect until changed.
For methods that just display results like SASdata object methods (head, tail, hist, series, etc.)
and SASresult object results, you can set 'batch' to true to get the results back directly so you
can write them to files or whatever you want to do with them.

This is intended for use in python batch scripts so you can still get ODS XML5 results
and save them to files, which you couldn't otherwise do for these methods.
When running interactively, the expectation is that you want to have the results directly rendered,
but you can run this way too; get the objects display them yourself and/or write them to somewhere.

When `set_batch ==True`, you get the same dictionary returned as from the `SASsession.submit()` method.

:param batch: bool
:rtype: bool
:return: True = return dict([LOG, LST]. False = display LST to screen.