get_relation_by_type
Description:
Finds a relation that matches the specified type.
Parameters:
| this | an RelationSet | 
| relationship | an RelationType | 
Returns:
| an Relation, which is a relation matching the specified type. |