code: def _violates_pep_440(ver):
      try:
          Version(ver)
          return False
      except InvalidVersion:
          return True
  
file_path: mlflow/mlflow/utils/autologging_utils/versioning.py
imports: import importlib
  import re
  from packaging.version import InvalidVersion, Version
  from mlflow.ml_package_versions import _ML_PACKAGE_VERSIONS
  from mlflow.utils.databricks_utils import is_in_databricks_runtime
label_desc: Use image node_id 3 for calling a global function with example usage: _violates_pep_440(ver) and returns: False, True