question: private boolean contains ( String ids [ ] , String id ) { for ( int i = 0 ; i < ids . length ; i ++ ) { if ( Operator . compare ( ids [ i ] , id ) == 0 ) return true ; } return false ; }
target:  checks if a String Array (ids) has one element that is equal to id