src/VCR/Storage/Yaml.php
public function valid()
    {
        if (is_null($this->current)) {
            $this->next();
        }

        return ! is_null($this->current) && $this->isValidPosition;
    }
public function valid()
    {
        if (is_null($this->current)) {
            $this->next();
        }

        return ! is_null($this->current) && $this->isValidPosition;
    }
public function valid ( ) { if ( is_null ( $ this -> current ) ) { $ this -> next ( ) ; } return ! is_null ( $ this -> current ) && $ this -> isValidPosition ; }
Returns true if the current record is valid.

@return boolean True if the current record is valid.
Returns true if the current record is valid .