Python Solution for reference
\n\nclass Solution:\n    def escapeGhosts(self, ghosts: List[List[int]], target: List[int]) -> bool:\n\n        # If any of the ghosts reaches the targert befor
\n```\nclass Solution:\n    def escapeGhosts(self, ghosts: List[List[int]], target: List[int]) -> bool:\n\n        # If any of the ghosts reaches the targert before \n        # you, then you lose\n        def time(x,y):\n            a,b = target\n            return max(x,a)-min(x,a) + max(y,b)-min(y,b)\n        \n        t_p = time(0,0)\n        for a,b in ghosts:\n            if time(a,b)<= t_p :\n                return False \n        return True \n```
['Python3']