def METHOD_NAME(graph, other, byname="auto"):
    """Creates the intersection of two (or more) graphs.
    @param other: graph or list of graphs to be intersected with
      the current one.
    @param byname: whether to use vertex names instead of ids. See
      L{igraph.operators.intersection} for details.
    @return: the intersection graph
    """
    if isinstance(other, GraphBase):
        other = [other]
    return intersection([graph] + other, byname=byname)