code: private static function canGenerateSecret(array $config): bool
      {
          if (isset($config['file'])) {
              return !is_file($config['file']);
          }
  
          foreach ($config as $v) {
              if (\is_array($v) && isset($v['file']) && is_file($v['file'])) {
                  return false;
              }
          }
  
          return !empty($config);
      }
docs: Checks if there is at least one config file defined but none of the files exists.