function query(list, name) { if (!list) return; return list.some(function (v) { return v == name }); }; module.exports.query = query