boolean (@NotNull PsiMethod ctor) { PsiClass containingClass = ctor.getContainingClass(); if (containingClass == null) return false; return ContainerUtil.exists(containingClass.getConstructors(), constructor -> constructor != ctor); }