hasCategory

public boolean hasCategory()

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