hasState

public boolean hasState()

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