code: public Person getSpouse(final GedObject person) {
          final List<Person> spouses = visitor.getSpouses();
          if (person != null && !spouses.contains(person)) {
              return new Person();
          }
          for (final Person spouse : spouses) {
              if (!spouse.equals(person)) {
                  return spouse;
              }
          }
          return new Person();
      }
docs: Get the person in this family who is the spouse of the person passed in.
  
  @param person the person whose spouse we are looking for.
  @return the spouse.