boolean (@Nullable String sdkPath) { final VirtualFile condaMeta = findCondaMeta(sdkPath); if (condaMeta == null) { return false; } final VirtualFile parent = condaMeta.getParent(); if (parent == null) { return false; } final VirtualFile condaBin = parent.findChild("condabin"); if (condaBin != null) { return true; } return parent.findChild("envs") != null; }