This command will return a one if the matrix has been prepared with textures, otherwise zero will be returned. The matrix number should be an integer value.

Syntax: 
Return Integer=MATRIX TILES EXIST(Matrix Number)