lib/classes/PluginManager.js/PluginManager/validateServerlessConfigDependency
class PluginManager:  validateServerlessConfigDependency(command) {
    if ('configDependent' in command && command.configDependent) {
      if (!this.serverlessConfigFile) {
        throw new this.serverless.classes.Error(
          'This command can only be run in a Serverless service directory'
        );
      }
    }
  }