docstr: Check that given patch is present in video.
docstr_tok: ["Check","that","given","patch","is","present","in","video","."]
code: def check_if_patch_exists(self, videos, video_patches, num_frames):
      """Check that given patch is present in video."""
      for video, video_patch in zip(videos, video_patches):
          total_frames = len(video)
          is_present = []
          for start_ind in range(total_frames - num_frames + 1):
              curr_patch = video[start_ind : start_ind + num_frames]
              is_present.append(np.allclose(curr_patch, video_patch))
          self.assertTrue(np.any(is_present))
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  from tensor2tensor.layers import common_video
  from tensor2tensor.utils import test_utils
  import tensorflow.compat.v1
label_desc: Use image node_id 10 for calling the CommonVideoTest obj's underlying member method code with example usage: obj.check_if_patch_exists(videos, video_patches, num_frames) without return types