boolean (@NotNull DataContext dataContext) { final Project project = CommonDataKeys.PROJECT.getData(dataContext); String fqn = getCopiedFqn(dataContext); return project != null && fqn != null && QualifiedNameProviderUtil.qualifiedNameToElement(fqn, project) != null; }