'Check whether the given moves ends at a position specified as
excluded in the part excluder'

def is_excluded_move(self, gline):

    if ((not gline.is_move) or (not self.excluder) or (not self.excluder.rectangles)):
        return False
    for (x0, y0, x1, y1) in self.excluder.rectangles:
        if ((x0 <= gline.current_x <= x1) and (y0 <= gline.current_y <= y1)):
            return True
    return False
