public final boolean isCancelled(){
  if (cancelled) {
    pass("cancelled",cancelled);
  }
 else {
    fail("cancelled");
  }
  return cancelled;
}

public final boolean isCancelled ( ) { if ( cancelled ) { pass ( "cancelled" , cancelled ) ; } else { fail ( "cancelled" ) ; } return cancelled ; }
returns true if this testsubscriber has been cancelled .
