Implement a CheckUpper method that checks the neighborhood constraints of a extraction pattern.