code: def test_filter_graph(self):
      filtered_graph = filter_graph(
          {
              1: [2, 3],
              2: [3, 4],
              3: [5],
              4: [5],
              5: [],
          },
          include_keys=[2, 3, 4],
      )
      self.assertDictEqual(
          filtered_graph,
          {
              2: [3, 4],
              3: [],
              4: [],
          },
      )
  
file_path: neupy/tests/layers/graph/test_extra_functions.py
imports: from collections import OrderedDict
  from neupy.layers.graph import find_outputs_in_graph, topological_sort, filter_graph, is_cyclic, lazy_property
  from base import BaseTestCase
label_desc: Use image node_id 4 for calling the ExtraFunctionsTestCase obj's underlying member method code with example usage: obj.test_filter_graph() without return types