boolean (@NotNull GroovyScriptRunConfiguration existing, @NotNull Location place) { final String params = existing.getProgramParameters(); final String targetName = getTargetName(place); if (targetName == null) { return StringUtil.isEmpty(params); } return params != null && (params.startsWith(targetName + " ") || params.equals(targetName)); }