def _map_mobility(
    dementia: int,
    falls: int,
    visual_impairment: int,
    visual_supervisation: int,
) -> bool:
    """Maps historic patient's mobility status to True or False."""
    if dementia + falls + visual_impairment + visual_supervisation > 0:
        return True
    else:
        return False