def _is_split_summer(registered_summer_terms):
    """
    Return True if the schedule needs to be displayed with
    separate summer terms if the user has:
      only a-term and/or b-term sections or
      a-term and full-term sections or
      b-term and full-term sections
    """
    has_a_term_course = registered_summer_terms.get('a-term') is True
    has_b_term_course = registered_summer_terms.get('b-term') is True
    return has_a_term_course or has_b_term_course