public static boolean isPropertyPsi(@NotNull PsiElement target) {
    return target instanceof IProperty ||
           target instanceof PomTargetPsiElement && ((PomTargetPsiElement)target).getTarget() instanceof IProperty;
  }
public static boolean isPropertyPsi(@NotNull PsiElement target)