public boolean contains(T listener){
  if (mListeners != null) {
    return mListeners.contains(listener);
  }
 else {
    return false;
  }
}

public boolean contains ( T listener ) { if ( mListeners != null ) { return mListeners . contains ( listener ) ; } else { return false ; } }
gets whether the specified listener object is contained in the chain .
