def detect_flood(domain, algorithm):
    try:
        approach = _ALGORITHMS[algorithm]
    except:
        return None
    return (approach[0], approach[1](domain, compute_modis_indices(domain)))
Overrides ``get_current_user`` to return the ``logged_in`` value from the sesison cookies. This function uses the
dataset/ETHPy150Open nasa/CrisisMappingToolkit/cmt/modis/flood_algorithms.py/detect_flood--crossover with--dataset/ETHPy150Open lonelycode/Mojo/Mojo/Auth/Mixins/MojoAuthMixin.py/MojoAuthMixin.get_current_user