code: def test_motion_blur_allow_shifted(seed):
      random.seed(seed)
  
      transform = A.MotionBlur(allow_shifted=False)
      kernel = transform.get_params()["kernel"]
  
      center = kernel.shape[0] / 2 - 0.5
  
      def check_center(vector):
          start = None
          end = None
  
          for i, v in enumerate(vector):
              if start is None and v != 0:
                  start = i
              elif start is not None and v == 0:
                  end = i
                  break
          if end is None:
              end = len(vector)
  
          assert (end + start - 1) / 2 == center
  
      check_center(kernel.sum(axis=0))
      check_center(kernel.sum(axis=1))
  
imports: import random
  from functools import partial
  import cv2
  import numpy
  import pytest
  import albumentations
  import albumentations.augmentations.functional
  import albumentations.augmentations.geometric.functional
  from albumentations.augmentations.blur.functional import gaussian_blur
  from .utils import get_dual_transforms, get_image_only_transforms, get_transforms
label_desc: Use image node_id 53 for calling a global function with example usage: test_motion_blur_allow_shifted(seed) without return types