'Return True if any combination of a circular dependency tuple is the key : value pair defined
in the received repository_key_rd_dict.  This means that each circular dependency tuple is converted
into the key : value pair for comparison.'

def in_circular_repository_dependencies(self, repository_key_rd_dict):

    for tup in self.circular_repository_dependencies:
        (rd_0, rd_1) = tup
        rd_0_as_key = self.get_repository_dependency_as_key(rd_0)
        rd_1_as_key = self.get_repository_dependency_as_key(rd_1)
        if ((rd_0_as_key in repository_key_rd_dict) and (repository_key_rd_dict[rd_0_as_key] == rd_1)):
            return True
        if ((rd_1_as_key in repository_key_rd_dict) and (repository_key_rd_dict[rd_1_as_key] == rd_0)):
            return True
    return False
