<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_all_parents(go_objs):
 """Return a set containing all GO Term parents of multiple GOTerm objects."""

    go_parents = set()
    for go_obj in go_objs:
        go_parents |= go_obj.get_all_parents()
    return go_parents