/** * @return bool */ public function areEmpty() { return !$this->hasRequiredIngredients() && !$this->hasOptionalIngredients() && !$this->hasQuery() && !$this->hasGlassName() && is_null($this->alcoholContentGreaterThan) && is_null($this->alcoholContentLowerThan) && !$this->requiredTaste->isDefined() && !$this->optionalTaste->isDefined(); }