boolean (@Nullable Project project) { if (project == null) { return false; } Boolean flag = project.getUserData(IDEA_PROJECT); if (flag == null) { flag = checkIdeaProject(project); project.putUserData(IDEA_PROJECT, flag); } return flag; }