text: module.exports = function check(str, bracketsConfig) {
  
    for (let i = 0; i < bracketsConfig.length; i++) {
      let brackets = bracketsConfig[i].join('');
      if (str.includes(brackets)) {
        str = str.replace(brackets, '');
        i = -1;
      }
    }
    return !str;
  }