image-mask-p

image-mask-p is a built-in function in `C source code'.

(image-mask-p SPEC &optional FRAME)

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.