code: function checkInstall(packageToCheck, isGlobal) {
    let command = 'npm list';
  
    if (isGlobal === true) {
      command = `${command} -g`;
    }
  
    command = `${command} --depth 0 ${packageToCheck} ${squelch}`
  
    try {
      execSync(command);
      
      console.log(chalk.green(`${packageToCheck} is installed.`));
      
      return true;
    } catch (err) {
      console.log(chalk.yellow(`${packageToCheck} is not installed.`));
      
      return false;
    }
  }
docs: ////////// 
  @function
  @name checkInstall
  @description
  Check whether or not the given package is installed
  
  @param {String} packageToCheck - Name of the package to check
  @param {boolean} isGlobal - Is the package supposed to be installed globally?
  
  @returns {boolean} Whether or not the package is installed