function getIn(obj, path) {
    if (typeof obj.getIn === 'function') {
        return obj.getIn(path)
    }
    return path.reduce((accum, next) => accum[next], obj)
}
Returns the value found in obj at path. Delegates to obj.getIn if available.
@param obj
@param path
@returns {*}