class_docstr: AttributeParser class for parsing the datatype of the given data.
docstr: Check whether the given data has the expected datatype.
code: def check_expected_type(data: Any, expected: DataType) -> bool:
      """Check whether the given data has the expected datatype."""
      return AttributeParser.determine_type(data) == expected
  
file_path: tsflex/tsflex/utils/attribute_parsing.py
imports: import re
  from enum import IntEnum
  from typing import Any
  import pandas
  from tsflex.utils.time import parse_time_arg
label_desc: Use image node_id 2 for calling the AttributeParser obj's underlying member method code with example usage: obj.check_expected_type(data, expected) and returns: unknown