def getIsInFilledRegionByPaths(loops, paths):
 for path in paths:
  if (len(path) > 0):
   if getIsInFilledRegion(loops, path[0]):
    return True
 return False

def getIsInFilledRegionByPaths ( loops , paths ) : for path in paths : if ( len ( path ) > 0 ) : if getIsInFilledRegion ( loops , path [ 0 ] ) : return True return False
determine if the point of any path is in the filled region of the loops .