code: private static boolean violatesCardinality(final Graph graph, final IRI model) {
          final boolean isIndirect = LDP.IndirectContainer.equals(model);
          return isIndirect && (!graph.contains(null, LDP.insertedContentRelation, null) || !hasMembershipProps(graph))
                          || !isIndirect && LDP.DirectContainer.equals(model) && !hasMembershipProps(graph)
                          || propertiesWithUriRange.stream().anyMatch(p -> graph.stream(null, p, null).count() > 1);
      }
docs: Verify that the cardinality of the `propertiesWithUriRange` properties. Keep any whose cardinality is > 1