src/Primitive/String/String.php
public function hasAny($strings, $caseSensitive = true)
    {
        return StaticStringy::containsAny(
            $this->string, $this->getArrayable($strings), $this->getBoolable($caseSensitive)
        );
    }
public function hasAny($strings, $caseSensitive = true)
    {
        return StaticStringy::containsAny(
            $this->string, $this->getArrayable($strings), $this->getBoolable($caseSensitive)
        );
    }
Return true if the string contains any $needles, false otherwise. By
default, the comparison is case-sensitive, but can be made insensitive
by setting $caseSensitive to false.

@param mixed $strings
@param mixed $caseSensitive
@return bool