code: func (actor Actor) GetIsolationSegmentByName(name string) (IsolationSegment, Warnings, error) {
  	isolationSegments, warnings, err := actor.CloudControllerClient.GetIsolationSegments(
  		ccv3.Query{Key: ccv3.NameFilter, Values: []string{name}},
  	)
  	if err != nil {
  		return IsolationSegment{}, Warnings(warnings), err
  	}
  
  	if len(isolationSegments) == 0 {
  		return IsolationSegment{}, Warnings(warnings), actionerror.IsolationSegmentNotFoundError{Name: name}
  	}
  
  	return IsolationSegment(isolationSegments[0]), Warnings(warnings), nil
  }
docs: // GetIsolationSegmentByName returns the requested isolation segment.