code: def create_dgl_mfgs(g, seed_nodes, fanout):
      sampler = MultiLayerNeighborSampler(fanout)
      return sampler.sample_blocks(g, seed_nodes)
  
file_path: cugraph/python/cugraph-dgl/tests/test_dataset.py
imports: import pytest
  from dgl.dataloading import MultiLayerNeighborSampler
  import dgl
  import torch
  import cudf
  import pandas
  import cupy
  import numpy
  from cugraph_dgl.dataloading.utils.sampling_helpers import create_homogeneous_sampled_graphs_from_dataframe
label_desc: Use image node_id 2 for calling a global function with example usage: create_dgl_mfgs(g, seed_nodes, fanout) and returns: sampler