def _check_use_raw(adata: AnnData, use_raw: Union[(None, bool)]) -> bool:
    '\n    Normalize checking `use_raw`.\n\n    My intentention here is to also provide a single place to throw a deprecation warning from in future.\n    '
    if (use_raw is not None):
        return use_raw
    elif (adata.raw is not None):
        return True
    else:
        return False
Normalize checking `use_raw`.

My intentention here is to also provide a single place to throw a deprecation warning from in future.
def _check_use_raw(adata: AnnData, use_raw: Union[(None, bool)]) -> bool:
    '\n    Normalize checking `use_raw`.\n\n    My intentention here is to also provide a single place to throw a deprecation warning from in future.\n    '
    if (use_raw is not None):
        return use_raw
    elif (adata.raw is not None):
        return True
    else:
        return False