public function isHaveValue($checkValue)
    {
        $this->checkFunctions[] = function ($value) use ($checkValue) {
            if (!is_array($value)) {
                return false;
            }
            return in_array($checkValue, $value);
        };
        return $this;
    }
public function isHaveValue($checkValue)
    {
        $this->checkFunctions[] = function ($value) use ($checkValue) {
            if (!is_array($value)) {
                return false;
            }
            return in_array($checkValue, $value);
        };
        return $this;
    }
public function isHaveValue ( $ checkValue ) { $ this -> checkFunctions [ ] = function ( $ value ) use ( $ checkValue ) { if ( ! is_array ( $ value ) ) { return false ; } return in_array ( $ checkValue , $ value ) ; } ; return $ this ; }
Use it if verifiable value is array
For more correction

@param $checkValue
@return $this
Use it if verifiable value is array For more correction