<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def make_relationship_aggregate(self, relationship):
 """ Returns a new relationship aggregate for the given relationship. :param relationship: Instance of :class:`everest.entities.relationship.DomainRelationship`. """

        if not self._session.IS_MANAGING_BACKREFERENCES:
            relationship.direction &= ~RELATIONSHIP_DIRECTIONS.REVERSE
        return RelationshipAggregate(self, relationship)