private static boolean resolvesToQualifiedNames(@NotNull PyExpression expression, @NotNull TypeEvalContext context, String... names) {
    final var qualifiedNames = resolveToQualifiedNames(expression, context);
    return ContainerUtil.exists(names, qualifiedNames::contains);
  }
private static boolean resolvesToQualifiedNames(@NotNull PyExpression expression, @NotNull TypeEvalContext context, String... names)