/** * @inheritdoc */ public function hasState(StateInterface $state) { return $this->states->contains($state); }