code: def check_kernel_padding_size(kernel_size, padding_size):
      for i in range(len(kernel_size)):
          if (
              padding_size[i][0] > kernel_size[i] // 2
              or padding_size[i][1] > kernel_size[i] // 2
          ):
              raise ValueError(
                  "Padding size should be less than or equal to half of the kernel size."
                  f" Got kernel_size: {kernel_size} and padding_size: {padding_size}"
              )
  
imports: import ivy
label_desc: Use image node_id 22 for calling a global function with example usage: check_kernel_padding_size(kernel_size, padding_size) without return types