code: def test_intensity_only(self):
      seq = K.PatchSequential(
          K.ImageSequential(
              K.ColorJiggle(0.1, 0.1, 0.1, 0.1, p=0.5),
              K.RandomPerspective(0.2, p=0.5),
              K.RandomSolarize(0.1, 0.1, p=0.5),
          ),
          K.ColorJiggle(0.1, 0.1, 0.1, 0.1),
          K.ImageSequential(
              K.ColorJiggle(0.1, 0.1, 0.1, 0.1, p=0.5),
              K.RandomPerspective(0.2, p=0.5),
              K.RandomSolarize(0.1, 0.1, p=0.5),
          ),
          K.ColorJiggle(0.1, 0.1, 0.1, 0.1),
          grid_size=(2, 2),
      )
      assert not seq.is_intensity_only()
  
      seq = K.PatchSequential(
          K.ImageSequential(K.ColorJiggle(0.1, 0.1, 0.1, 0.1, p=0.5)),
          K.ColorJiggle(0.1, 0.1, 0.1, 0.1),
          K.ColorJiggle(0.1, 0.1, 0.1, 0.1, p=0.5),
          K.ColorJiggle(0.1, 0.1, 0.1, 0.1),
          grid_size=(2, 2),
      )
      assert seq.is_intensity_only()
  
imports: from functools import partial
  from unittest.mock import patch
  import pytest
  import torch
  import kornia
  import kornia.augmentation
  from kornia.augmentation.container.base import ParamItem
  from kornia.constants import BorderType
  from kornia.geometry.bbox import bbox_to_mask
  from kornia.testing import assert_close
label_desc: Use image node_id 3 for calling the TestPatchSequential obj's underlying member method code with example usage: obj.test_intensity_only() without return types