code: def _check(
      registered_model,
      name,
      creation_timestamp,
      last_updated_timestamp,
      description,
      latest_versions,
      tags,
      aliases,
  ):
      assert isinstance(registered_model, RegisteredModel)
      assert registered_model.name == name
      assert registered_model.creation_timestamp == creation_timestamp
      assert (
          registered_model.last_updated_timestamp
          == last_updated_timestamp
      )
      assert registered_model.description == description
      assert (
          registered_model.last_updated_timestamp
          == last_updated_timestamp
      )
      assert registered_model.latest_versions == latest_versions
      assert registered_model.tags == tags
      assert registered_model.aliases == aliases
  
file_path: mlflow/tests/entities/model_registry/test_registered_model.py
imports: from mlflow.entities.model_registry import RegisteredModelAlias
  from mlflow.entities.model_registry.model_version import ModelVersion
  from mlflow.entities.model_registry.registered_model import RegisteredModel
  from mlflow.entities.model_registry.registered_model_tag import RegisteredModelTag
  from tests.helper_functions import random_str
label_desc: Use image node_id 1 for calling a global function with example usage: _check(registered_model, name, creation_timestamp, last_updated_timestamp, description, latest_versions, tags, aliases) without return types