This command will return a one if the specified matrix is displayed as a wireframe otherwise zero will be returned. The matrix number should be an integer value.

Syntax: 
Return Integer=MATRIX WIREFRAME STATE(Matrix Number)