Loops over all edges that are incident to supplied vertex and accumulates all colors,
     that are present in those edges

def get_vertex_surrounding_multicolor(graph, vertex):
    """
    Loops over all edges that are incident to supplied vertex and accumulates all colors,
     that are present in those edges
    """
    result = Multicolor()
    for edge in graph.get_edges_by_vertex(vertex):
        result += edge.multicolor
    return result