(src_dst)
return False
Check for mask band in source.
Check for mask band in source.
Check for mask band in source .
def has_mask_band(src_dst):
    """Check for mask band in source."""
    if any(
        [
            (MaskFlags.per_dataset in flags and MaskFlags.alpha not in flags)
            for flags in src_dst.mask_flag_enums
        ]
    ):
        return True
    return False
def has_mask_band ( src_dst ) : if any ( [ ( MaskFlags . per_dataset in flags and MaskFlags . alpha not in flags ) for flags in src_dst . mask_flag_enums ] ) : return True return False