hasCause

public boolean hasCause()

Checks whether the 'cause' field has been set, however the value could be null