module.exports = {
    isSelected: function (selectedWords, word) {
        if (selectedWords && selectedWords.length > 0) {
            return selectedWords.indexOf(word) !== -1;
        }
        return false;
    },
};
