code: def artifact_dict_if_exists(self, step, name):
      return {
          task.id: {name: task[name].data}
          for task in self.run[step]
          if name in task
      }
  
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 6 for calling the MetadataCheck obj's underlying member method code with example usage: obj.artifact_dict_if_exists(step, name) and returns: unknown