This could be shortened to the following:

```js
var geometry = goog.isDef(opt_attribute) ?
    this.get(opt_attribute) : this.getGeometry();
```