code: def _check_run(run, ri, rd_metrics, rd_params, rd_tags, datasets):
      run_info_check(
          run.info,
          ri.run_id,
          ri.experiment_id,
          ri.user_id,
          ri.status,
          ri.start_time,
          ri.end_time,
          ri.lifecycle_stage,
          ri.artifact_uri,
      )
      run_data_check(run.data, rd_metrics, rd_params, rd_tags)
      run_inputs_check(run.inputs, datasets)
  
file_path: mlflow/tests/entities/test_run.py
imports: import pytest
  from mlflow.entities import Dataset, DatasetInput, LifecycleStage, Metric, Run, RunData, RunInfo, RunInputs, RunStatus
  from mlflow.exceptions import MlflowException
  from tests.entities.test_run_data import _check
  from tests.entities.test_run_info import _check
  from tests.entities.test_run_inputs import _check
label_desc: Use image node_id 1 for calling a global function with example usage: _check_run(run, ri, rd_metrics, rd_params, rd_tags, datasets) without return types