code: def validate_version(expected, found):
      version_depth = expected.count(".") + 1
      found = ".".join(found.split(".")[:version_depth])
      return found == expected
  
file_path: DeepSpeed/tests/conftest.py
imports: import sys
  import pytest
  import os
  from os.path import abspath, dirname, join
  import torch
  import warnings
label_desc: Use image node_id 3 for calling a global function with example usage: validate_version(expected, found) and returns: unknown