hasId

public boolean hasId()

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