defined() public method

Checks if the given option has been set by the user upon initialization.
public defined ( string $option ) : boolean
$option string Name of the option.
return boolean
 /**
  * {@inheritdoc}
  */
 public function getDefault(OptionsInterface $options)
 {
     $factory = new Factory();
     if ($options->defined('parameters')) {
         $factory->setDefaultParameters($options->parameters);
     }
     return $factory;
 }