https://leetcode.com/problems/search-a-2d-matrix-ii


Runtime: 168 ms, faster than 45.73% of Python3 online submissions for Search a 2D Matrix II.
Memory Usage: 20.5 MB, less than 73.56% of Python3 online submissions for Search a 2D Matrix II.


```python
class Solution:
    def searchMatrix(self, matrix: List[List[int]], target: int) -> bool:
        #8:16
        for row in matrix:
            for value in row:
                if target == value:
                    return True
        return False
    #8:17
```