public boolean isInGroup(VisualItem item,String group){
  if (ALL_ITEMS.equals(group))   return true;
  if (item.getGroup() == group)   return true;
  TupleSet tset=getGroup(group);
  return (tset == null ? false : tset.containsTuple(item));
}

public boolean isInGroup ( VisualItem item , String group ) { if ( ALL_ITEMS . equals ( group ) ) return true ; if ( item . getGroup ( ) == group ) return true ; TupleSet tset = getGroup ( group ) ; return ( tset == null ? false : tset . containsTuple ( item ) ) ; }
indicates if a given visualitem is contained in the given visual data group .
