Write a function to search for a target value in a sorted 2D matrix.
Constraints
Example
```python >>> search_matrix([[1,3,5,7],[10,11,16,20],[23,30,34,60]], 3) True >>> search_matrix([[1,3,5,7],[10,11,16,20],[23,30,34,60]], 13) False >>> search_matrix([[4]], 4) True ```
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints