def isXSegmentIntersectingPaths(paths, segmentFirstX, segmentSecondX, segmentYMirror, y):
 for path in paths:
  if isXSegmentIntersectingPath(path, segmentFirstX, segmentSecondX, segmentYMirror, y):
   return True
 return False

def isXSegmentIntersectingPaths ( paths , segmentFirstX , segmentSecondX , segmentYMirror , y ) : for path in paths : if isXSegmentIntersectingPath ( path , segmentFirstX , segmentSecondX , segmentYMirror , y ) : return True return False
determine if a path list is crossing inside the x segment .