code: def test_valid(self, data, shape):
      assert KORNIA_CHECK_SHAPE(data, shape) is True
  
imports: import pytest
  import torch
  from kornia.core.check import KORNIA_CHECK, KORNIA_CHECK_DM_DESC, KORNIA_CHECK_IS_COLOR, KORNIA_CHECK_IS_COLOR_OR_GRAY, KORNIA_CHECK_IS_GRAY, KORNIA_CHECK_IS_LIST_OF_TENSOR, KORNIA_CHECK_IS_TENSOR, KORNIA_CHECK_LAF, KORNIA_CHECK_SAME_DEVICE, KORNIA_CHECK_SAME_DEVICES, KORNIA_CHECK_SAME_SHAPE, KORNIA_CHECK_SHAPE, KORNIA_CHECK_TYPE
label_desc: Use image node_id 1 for calling the TestCheckShape obj's underlying member method code with example usage: obj.test_valid(data, shape) without return types