function _pathIsFile(path) {
        return _.last(path) !== "/";
    }
@private

Determines if a path string is pointing to a directory (does it have a trailing slash?)

@param {string} path Path to test.