Test if the provided point exists in the matrix.
Provide a point to validate.
The matrix that contains valid points.
Test if the provided point exists in the matrix.