def __enter__(self):
self._output_file_handle = self._setup_output_file(self._output_file)<EOL>return self<EOL>
Performs some basic checks and returns itself when everything is ready to invoke a Lambda function.

Returns
-------
LogsCommandContext
    Returns this object