question: public boolean is_overlap ( ) { Set < BrdItem > start_contacts = get_start_contacts ( ) ; Set < BrdItem > end_contacts = get_end_contacts ( ) ; for ( BrdItem end_contact : end_contacts ) { if ( start_contacts . contains ( end_contact ) ) return true ; } return false ; }
target:  looks, if this trace is connected to the same object at its start and its end point