public boolean contains(DetectorFactory factory){
  return memberSet.contains(factory);
}

public boolean contains ( DetectorFactory factory ) { return memberSet . contains ( factory ) ; }
return whether or not this pass contains the given detectorfactory .
