def to_file(self, filename, driver="ESRI Shapefile", schema=None,
                **kwargs):
        from geopandas.io.file import to_file
        to_file(self, filename, driver, schema, **kwargs)
Check if session is still alive
dataset/ETHPy150Open geopandas/geopandas/geopandas/geodataframe.py/GeoDataFrame.to_file--crossover with--dataset/ETHPy150Open benoitc/gaffer/gaffer/sockjs/sessioncontainer.py/SessionMixin.is_alive