docs: def normalize_in_place(sysmeta_pyxb, reset_timestamps=False):
      """Normalize SystemMetadata PyXB object in-place.
  
      Args:
        sysmeta_pyxb:
          SystemMetadata PyXB object to normalize.
  
        reset_timestamps: bool
          ``True``: Timestamps in the SystemMetadata are set to a standard value so that
          objects that are compared after normalization register as equivalent if only
          their timestamps differ.
  
      Notes:
        The SystemMetadata is normalized by removing any redundant information and
        ordering all sections where there are no semantics associated with the order. The
        normalized SystemMetadata is intended to be semantically equivalent to the
        un-normalized one.
  
      """
      if sysmeta_pyxb.accessPolicy is not None:
          sysmeta_pyxb.accessPolicy = d1_common.wrap.access_policy.get_normalized_pyxb(
              sysmeta_pyxb.accessPolicy
          )
      if getattr(sysmeta_pyxb, 'mediaType', False):
          d1_common.xml.sort_value_list_pyxb(sysmeta_pyxb.mediaType.property_)
      if getattr(sysmeta_pyxb, 'replicationPolicy', False):
          d1_common.xml.sort_value_list_pyxb(
              sysmeta_pyxb.replicationPolicy.preferredMemberNode
          )
          d1_common.xml.sort_value_list_pyxb(
              sysmeta_pyxb.replicationPolicy.blockedMemberNode
          )
      d1_common.xml.sort_elements_by_child_values(
          sysmeta_pyxb.replica,
          ['replicaVerified', 'replicaMemberNode', 'replicationStatus'],
      )
      sysmeta_pyxb.archived = bool(sysmeta_pyxb.archived)
      if reset_timestamps:
          epoch_dt = datetime.datetime(1970, 1, 1, tzinfo=d1_common.date_time.UTC())
          sysmeta_pyxb.dateUploaded = epoch_dt
          sysmeta_pyxb.dateSysMetadataModified = epoch_dt
          for replica_pyxb in getattr(sysmeta_pyxb, 'replica', []):
              replica_pyxb.replicaVerified = epoch_dt
      else:
          sysmeta_pyxb.dateUploaded = d1_common.date_time.round_to_nearest(
              sysmeta_pyxb.dateUploaded
          )
          sysmeta_pyxb.dateSysMetadataModified = d1_common.date_time.round_to_nearest(
              sysmeta_pyxb.dateSysMetadataModified
          )
          for replica_pyxb in getattr(sysmeta_pyxb, 'replica', []):
              replica_pyxb.replicaVerified = d1_common.date_time.round_to_nearest(
                  replica_pyxb.replicaVerified
              )