imageistruecolor() finds whether the image image is a truecolor image.
See also imagecreatetruecolor().