code: def test_is_mlflow_requirement():
      assert _is_mlflow_requirement("mlflow")
      assert _is_mlflow_requirement("MLFLOW")
      assert _is_mlflow_requirement("MLflow")
      assert _is_mlflow_requirement("mlflow==1.2.3")
      assert _is_mlflow_requirement("mlflow < 1.2.3")
      assert _is_mlflow_requirement("mlflow; python_version < '3.8'")
      assert _is_mlflow_requirement(
          "mlflow @ https://github.com/mlflow/mlflow.git"
      )
      assert _is_mlflow_requirement("mlflow @ file:///path/to/mlflow")
      assert _is_mlflow_requirement("mlflow-skinny==1.2.3")
      assert not _is_mlflow_requirement("foo")
      # Ensure packages that look like mlflow are NOT considered as mlflow.
      assert not _is_mlflow_requirement("mlflow-foo")
      assert not _is_mlflow_requirement("mlflow_foo")
  
imports: import os
  import pytest
  import yaml
  from mlflow.exceptions import MlflowException
  from mlflow.utils.environment import _contains_mlflow_requirement, _deduplicate_requirements, _get_pip_deps, _get_pip_requirement_specifier, _is_mlflow_requirement, _is_pip_deps, _mlflow_conda_env, _overwrite_pip_deps, _parse_pip_requirements, _process_conda_env, _process_pip_requirements, _validate_env_arguments
  from tests.helper_functions import _mlflow_major_version_string
label_desc: Use image node_id 16 for calling a global function with example usage: test_is_mlflow_requirement() without return types