code: func TypeCanBeBlocks(ty cty.Type) bool {
  	return (ty.IsListType() || ty.IsSetType()) && ty.ElementType().IsObjectType()
  }
docs: // TypeCanBeBlocks returns true if the given type is a list-of-object or
  // set-of-object type, and would thus be subject to the blocktoattr fixup
  // if used as an attribute type.