baz.js

module.exports = {
    has: function (name) {
        return this[name];
    }
};