_.attempt(object, 'method', [*arguments])

A helper function, similar to Rails' `try`, that will call the method on object, unless object is undefined or null. Passes the 3rd+ argument as the arguments to the method.'

Originally a pull request to underscore (https://github.com/jashkenas/underscore/pull/1241).