public boolean addAssertion(Assertion assertion){
  if (signed) {
    return false;
  }
  if (assertion == null) {
    return false;
  }
  if ((assertions == null) || (assertions == Collections.EMPTY_LIST)) {
    assertions=new ArrayList();
  }
  assertions.add(assertion);
  return true;
}

public boolean addAssertion ( Assertion assertion ) { if ( signed ) { return false ; } if ( assertion == null ) { return false ; } if ( ( assertions == null ) || ( assertions == Collections . EMPTY_LIST ) ) { assertions = new ArrayList ( ) ; } assertions . add ( assertion ) ; return true ; }
add an assertion to the response .
