Phpmig\Adapter\Zend\DbAdapter::hasSchema PHP Method

hasSchema() public method

Is the schema ready?
public hasSchema ( ) : boolean
return boolean
    public function hasSchema()
    {
        try {
            $metadata = new Metadata($this->adapter);
            $metadata->getTable($this->tableName);
            return true;
        } catch (\Exception $exception) {
            return false;
        }
    }