code: def _md5check(fullname, md5sum=None):
      if md5sum is None:
          return True
  
      md5 = hashlib.md5()
      with open(fullname, "rb") as f:
          for chunk in iter(lambda: f.read(4096), b""):
              md5.update(chunk)
      calc_md5sum = md5.hexdigest()
  
      if calc_md5sum != md5sum:
          return False
      return True
  
imports: import os, sys
  import os.path
  import hashlib
  import requests
  import shutil
  import tqdm
  import time
  import tarfile
  import zipfile
  from paddle.utils.download import _get_unique_endpoints
label_desc: Use image node_id 4 for calling a global function with example usage: _md5check(fullname, md5sum) and returns: True, True, False