bool IsTransparent() const;
IsTransparent checks if the image is transparent or whether the BitmapData object was created with the 'transparent' flag.
If the image is not transparent, never compare the alpha channel.
True if the image is transparent and false otherwise.