Usually vectors and matrix in many libraries have method like isEmpty() that returns true if matrix\'s size is zero and false if it ha
isEmpty()
true
false