    public function hasTag ($tag, array $oldTags=null, $refresh=false) {
        $oldTags = $oldTags === null ? $this->getTags ($refresh) : $oldTags;
        return in_array (strtolower (Tags::normalizeTag ($tag)), array_map (function ($tag) {
            return strtolower ($tag); 
        }, $oldTags));
    }
The product receives input or data, but it does
        not validate or incorrectly validates that the input has the
        properties that are required to process the data safely and
        correctly.