private boolean isCollection(ResourceShape resource, ToShapeId operationId) {
        return resource.getCollectionOperations().contains(operationId.toShapeId())
                || (resource.getCreate().isPresent() && resource.getCreate().get().toShapeId().equals(operationId))
                || (resource.getList().isPresent() && resource.getList().get().toShapeId().equals(operationId));
    }
Gets a map of identifier names to input member names that provide a
value for that identifier.

@param resource Shape ID of a resource.
@param operation Shape ID of an operation.
@return Returns the identifier bindings map or an empty map if the
 binding is invalid or cannot be found.

@deprecated Use {@link #getOperationInputBindings} instead.
smithy-model/src/main/java/software/amazon/smithy/model/knowledge/IdentifierBindingIndex.java