public boolean isDestroyMessage(){
  if (message == null) {
    throw new IllegalStateException("no message present");
  }
  return !callee.equals("") && (message.equals("destroy") || message.startsWith("destroy("));
}

public boolean isDestroyMessage ( ) { if ( message == null ) { throw new IllegalStateException ( "no message present" ) ; } return ! callee . equals ( "" ) && ( message . equals ( "destroy" ) || message . startsWith ( "destroy(" ) ) ; }
returns true if the message starts with & quot ; destroy ( & quot ; or if it equals & quot ; destroy & quot ;
