code: def __init__(self, flow):
      from metaflow.client import Flow, get_namespace
  
      self.flow = flow
      self.run = Flow(flow.name)[self.run_id]
      assert_equals(
          sorted(step.name for step in flow),
          sorted(step.id for step in self.run),
      )
      self._test_namespace()
  
imports: import json
  import os
  from metaflow.util import is_stringish
  from .None import MetaflowCheck, AssertArtifactFailed, AssertCardFailed, AssertLogFailed, assert_equals, assert_exception, truncate
label_desc: Use image node_id 1 to create a new MetadataCheck object from inherited base classes: MetaflowCheck with example: obj = MetadataCheck(flow)