docs: def wrap(access_pyxb, read_only=False):
      """Work with the AccessPolicy in a SystemMetadata PyXB object.
  
      Args:
        access_pyxb : AccessPolicy PyXB object
          The AccessPolicy to modify.
  
        read_only: bool
          Do not update the wrapped AccessPolicy.
  
      When only a single AccessPolicy operation is needed, there's no need to use this
      context manager. Instead, use the generated context manager wrappers.
  
      """
      w = AccessPolicyWrapper(access_pyxb)
      yield w
      if not read_only:
          w.get_normalized_pyxb()