public function hasTagValues($values) { $tagValues = $this->getTagValues(true); foreach ($this->filterTagValues($values) as $value) { if (!in_array($value, $tagValues)) { return false; } } return true; }