code: def _check_area(data_arr):
      from pyresample.geometry import SwathDefinition
  
      area = data_arr.attrs["area"]
      assert isinstance(area, SwathDefinition)
  
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 10 for calling a global function with example usage: _check_area(data_arr) without return types