Function: image-mask-p

Return t if image SPEC has a mask bitmap.
FRAME is the frame on which the image will be displayed. FRAME nil
or omitted means use the selected frame.

(fn SPEC &optional FRAME)