boolean (@NotNull PsiElement element, @NotNull Project project, @NotNull String messagePrefix) { return element.isWritable() || checkReadOnlyStatus(project, Collections.emptySet(), Collections.singleton(element), messagePrefix, true); }