def METHOD_NAME(imageW, imageH, region):
    for i in range(len(region)/2):
        p = [region[i*2], region[i*2+1]]
        if p[0]<0 or p[0]>imageW or p[1]<0 or p[1]>imageH:
            return True
    return False