class Solution: def Find(self , target: int, array: List[List[int]]) -> bool: re = False for i in array: if target in i: re = True break return re