def isLoopListIntersectingInsideXSegment(loopList, segmentFirstX, segmentSecondX, segmentYMirror, y):
 for alreadyFilledLoop in loopList:
  if isLoopIntersectingInsideXSegment(alreadyFilledLoop, segmentFirstX, segmentSecondX, segmentYMirror, y):
   return True
 return False

def isLoopListIntersectingInsideXSegment ( loopList , segmentFirstX , segmentSecondX , segmentYMirror , y ) : for alreadyFilledLoop in loopList : if isLoopIntersectingInsideXSegment ( alreadyFilledLoop , segmentFirstX , segmentSecondX , segmentYMirror , y ) : return True return False
determine if the loop list is crossing inside the x segment .