code: def check_random_state(random_state):
      if random_state is not None:
          np.random.seed(random_state)
  
      return random_state
  
file_path: DALEX/python/dalex/dalex/aspect/_model_triplot/checks.py
imports: import numpy
  from warnings import warn
  from dalex.model_explanations._model_performance.utils import *
  from dalex.model_explanations._variable_importance.loss_functions import *
label_desc: Use image node_id 8 for calling a global function with example usage: check_random_state(random_state) and returns: random_state