public synchronized boolean isConsumer(ImageConsumer ic){
  return theConsumers.contains(ic);
}

public synchronized boolean isConsumer ( ImageConsumer ic ) { return theConsumers . contains ( ic ) ; }
determines if an imageconsumer is on the list of consumers currently interested in data for this image .
