hasName

public boolean hasName()

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