src/google-classroom-extractor/edfi_google_classroom_extractor/config.py
def _is_running_in_notebook() -> bool:
    """
    Determine whether code is running in a Jupyter Notebook

    Returns
    -------
    bool
        True if code is running in a Jupyter Notebook
    """
    main = __import__("__main__", None, None, fromlist=["__file__"])
    return not hasattr(main, "__file__")

    Determine whether code is running in a Jupyter Notebook

    Returns
    -------
    bool
        True if code is running in a Jupyter Notebook
    
Determine whether code is running in a Jupyter Notebook
Returns

bool
True if code is running in a Jupyter Notebook
Determine whether code is running in a Jupyter Notebook Returns bool True if code is running in a Jupyter Notebook
def _is_running_in_notebook() -> bool:
    main = __import__("__main__", None, None, fromlist=["__file__"])
    return not hasattr(main, "__file__")
def _is_running_in_notebook ( ) -> bool : main = __import__ ( "__main__" , None , None , fromlist = [ "__file__" ] ) return not hasattr ( main , "__file__" )
Determine whether code is running in a Jupyter Notebook
Returns
Determine whether code is running in a Jupyter Notebook Returns
"""
    Determine whether code is running in a Jupyter Notebook

    Returns
    -------
    bool
        True if code is running in a Jupyter Notebook
    """