code: def _check_attrs(data_arr, platform_name):
      attrs = data_arr.attrs
      assert "scale_factor" not in attrs
      assert "platform_name" in attrs
      assert attrs["platform_name"] == platform_name
      assert attrs["start_time"] == START_TIME
      assert attrs["end_time"] == END_TIME
  
imports: from __future__ import annotations
  import os
  from datetime import datetime
  from unittest import mock
  import numpy
  import pytest
  import xarray
  from satpy._config import config_search_paths
  from satpy.dataset import DataID
  from satpy.readers import load_reader
  from satpy.readers.yaml_reader import FileYAMLReader
label_desc: Use image node_id 13 for calling a global function with example usage: _check_attrs(data_arr, platform_name) without return types