Returns whether or not the url generator has been initialized.
bool Returns TRUE if the basePath, baseUrl and scriptPath properties have been set, FALSE otherwise.
protected function initialized() {
return isset($this->basePath) && isset($this->baseUrl) && isset($this->scriptPath);
}