public function getRiskyAllowed()
{
if (null === $this->allowRisky) {
if (null !== $this->options['allow-risky']) {
$this->allowRisky = 'yes' === $this->options['allow-risky'];
} else {
$this->allowRisky = $this->getConfig()->getRiskyAllowed();
}
}
return $this->allowRisky;
}