hasCode

public boolean hasCode()

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