Checks if an option has been set
string $name An option name:
Boolean true if the option is set, false otherwise
public function hasOption($name) { return array_key_exists($name, $this->options); }