Checks if a default value is set for the given variable.
string $name A variable name:
Boolean true if the default value is set, false otherwise
public function hasDefault($name) { return array_key_exists($name, $this->defaults); }