Create a function to search for a target value in a 2D matrix with rows and columns sorted in ascending order in python
Example:
[ [1,4,7,11],
[2,5,8,12],
[3,6,9,16],
[10,13,14,17]
]
Target:6
Output True
Explanation: The target value 6 is present in the given 2D matrix