def METHOD_NAME(self, type, first_only=True):
    found = list()
    for p in self.participants:
        if p.type == type:
            if first_only:
                return p
            else:
                found.append(p)
    return found