protected function isValid($value)
    {
        $consumer = new Consumer();
        $embedObject = $consumer->consume($value);
        if ($embedObject === null) {
            $this->addError('This URI has no oEmbed support.', 1403004582, [$value]);
        }
    }
protected function isValid($value)
    {
        $consumer = new Consumer();
        $embedObject = $consumer->consume($value);
        if ($embedObject === null) {
            $this->addError('This URI has no oEmbed support.', 1403004582, [$value]);
        }
    }
protected function isValid ( $ value ) { $ consumer = new Consumer ( ) ; $ embedObject = $ consumer -> consume ( $ value ) ; if ( $ embedObject === null ) { $ this -> addError ( 'This URI has no oEmbed support.' , 1403004582 , [ $ value ] ) ; } }
Checks if the given value is a specific boolean value.

@param mixed $value The value that should be validated
@return void
@api
Checks if the given value is a specific boolean value .