pub(crate) fn has_palette_alpha(&self) -> bool {
        self.palette().iter().any(|p| {
            let byte: u8 = p.alpha().into();

            byte < 255
        })
    }
/// only returns true if there is a palette and there is a value in the palette with alpha < 255.
/// Loops through the palette to check this.
only returns true if there is a palette and there is a value in the palette with alpha < 255.
Loops through the palette to check this.
only returns true if there is a palette and there is a value in the palette with alpha < 255 . Loops through the palette to check this .
pub(crate) fn has_palette_alpha(&self) -> bool {
        self.palette().iter().any(|p| {
            let byte: u8 = p.alpha().into();
            byte < 255
        })
    }
pub ( crate ) fn has_palette_alpha ( & self ) -> bool { self . palette ( ) . iter ( ) . any ( | p | { let byte : u8 = p . alpha ( ) . into ( ) ; byte < 255 } ) }
only returns true if there is a palette and there is a value in the palette with alpha < 255.
only returns true if there is a palette and there is a value in the palette with alpha < 255 .
&self