This idiom is being used all over the place in this code. 
- Is this object defined?
- Is this property defined on this object?
- Is this property defined on this property of the object?
- Ok, do the thing.

Surely there's a better way than expending 7 lines of code each time?