public function hasDenial($string)
    {
        $result = false;
        $words = $this->getWords($string);

        foreach ($words as $word) {
            if (in_array($word, $this->denialWords)) {
                $result = true;
            }
        }

        return $result;
    }
public function hasDenial($string)
    {
        $result = false;
        $words = $this->getWords($string);

        foreach ($words as $word) {
            if (in_array($word, $this->denialWords)) {
                $result = true;
            }
        }

        return $result;
    }
public function hasDenial ( $ string ) { $ result = false ; $ words = $ this -> getWords ( $ string ) ; foreach ( $ words as $ word ) { if ( in_array ( $ word , $ this -> denialWords ) ) { $ result = true ; } } return $ result ; }
Has denial content.

@param string $string

@return bool
Has denial content .