Zend certified PHP/Magento developer

What should I replace calls to coreRegistry with?

I have a redirect for new customers that uses coreRegistery->registery, but that’s been depricated. What’s the new way to check for is_new_account?

 if ($this->coreRegistry->registry('is_new_account')) {
            /** @var MagentoFrameworkControllerResultRedirect $result */
            $result = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
            $result->setUrl($this->url->getUrl('<page name>'));
            return $result;
        }