code: def have_same_geometry(fname1, fname2):
      
      img1shape = nib.load(fname1).get_shape()
      img2shape = nib.load(fname2).get_shape()
      return have_same_shape(img1shape, img2shape)
docs: @param fname1: string
      File path of an image
  
      @param fname2: string
      File path of an image
  
      @return: bool
      True if both have the same geometry