/** * Returns this ISBN validity * * @return boolean */ function isValid() { $isbn = $this->getISBN(); $r = ISBN::validate($this->getISBN(), $this->getVersion()); return (bool) $r; }