[JENKINS-23462] Sectioned views are not evaluated for job priority

Handling differences in implementations of contains() in 
various View/ViewGroups