Question: If statement with a matrix

I want to write an if statement with a matrix R:
such that maple executes command 1 if R is Matrix(4, 4, [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]])

and command 2 if R is not zero.

What is the easiest way to go about this?

Please Wait...