def should_run_async(self, raw_cell: str, *, transformed_cell=None, preprocessing_exc_tuple=None) -> bool:
    'Return whether a cell should be run asynchronously via a coroutine runner\n\n        Parameters\n        ----------\n        raw_cell : str\n            The code to be executed\n\n        Returns\n        -------\n        result: bool\n            Whether the code needs to be run with a coroutine runner or not\n        .. versionadded:: 7.0\n        '
    if (not self.autoawait):
        return False
    if (preprocessing_exc_tuple is not None):
        return False
    assert (preprocessing_exc_tuple is None)
    if (transformed_cell is None):
        warnings.warn('`should_run_async` will not call `transform_cell` automatically in the future. Please pass the result to `transformed_cell` argument and any exception that happen during thetransform in `preprocessing_exc_tuple` in IPython 7.17 and above.', DeprecationWarning, stacklevel=2)
        try:
            cell = self.transform_cell(raw_cell)
        except Exception:
            return False
    else:
        cell = transformed_cell
    return _should_be_async(cell)
Return whether a cell should be run asynchronously via a coroutine runner

Parameters
----------
raw_cell : str
    The code to be executed

Returns
-------
result: bool
    Whether the code needs to be run with a coroutine runner or not
.. versionadded:: 7.0
def should_run_async(self, raw_cell: str, *, transformed_cell=None, preprocessing_exc_tuple=None) -> bool:
    'Return whether a cell should be run asynchronously via a coroutine runner\n\n        Parameters\n        ----------\n        raw_cell : str\n            The code to be executed\n\n        Returns\n        -------\n        result: bool\n            Whether the code needs to be run with a coroutine runner or not\n        .. versionadded:: 7.0\n        '
    if (not self.autoawait):
        return False
    if (preprocessing_exc_tuple is not None):
        return False
    assert (preprocessing_exc_tuple is None)
    if (transformed_cell is None):
        warnings.warn('`should_run_async` will not call `transform_cell` automatically in the future. Please pass the result to `transformed_cell` argument and any exception that happen during thetransform in `preprocessing_exc_tuple` in IPython 7.17 and above.', DeprecationWarning, stacklevel=2)
        try:
            cell = self.transform_cell(raw_cell)
        except Exception:
            return False
    else:
        cell = transformed_cell
    return _should_be_async(cell)