code: def _check(fi, path, is_dir, size_in_bytes):
      assert isinstance(fi, FileInfo)
      assert fi.path == path
      assert fi.is_dir == is_dir
      assert fi.file_size == size_in_bytes
  
imports: from mlflow.entities import FileInfo
  from tests.helper_functions import random_int, random_str
label_desc: Use image node_id 1 for calling a global function with example usage: _check(fi, path, is_dir, size_in_bytes) without return types