code: def test_mp_attribute():
      for test_file in test_files:
          with Image.open(test_file) as im:
              mpinfo = im._getmp()
          frameNumber = 0
          for mpentry in mpinfo[0xB002]:
              mpattr = mpentry["Attribute"]
              if frameNumber:
                  assert not mpattr["RepresentativeImageFlag"]
              else:
                  assert mpattr["RepresentativeImageFlag"]
              assert not mpattr["DependentParentImageFlag"]
              assert not mpattr["DependentChildImageFlag"]
              assert mpattr["ImageDataFormat"] == "JPEG"
              assert (
                  mpattr["MPType"] == "Multi-Frame Image: (Disparity)"
              )
              assert mpattr["Reserved"] == 0
              frameNumber += 1
  
imports: from io import BytesIO
  import pytest
  from PIL import Image
  from .helper import assert_image_similar, is_pypy, skip_unless_feature
label_desc: Use image node_id 14 for calling a global function with example usage: test_mp_attribute() without return types