code: def test_FramesMatches_filter():
      input_matching_frames = [
          FramesMatch(1, 2, 0, 0),
          FramesMatch(1, 2, 0.8, 0.8),
          FramesMatch(1, 2, 0.8, 0),
      ]
      expected_matching_frames = [FramesMatch(1, 2, 0, 0)]
      matching_frames_filter = (
          lambda x: not x.min_distance and not x.max_distance
      )
  
      matching_frames = FramesMatches(input_matching_frames).filter(
          matching_frames_filter
      )
  
      assert len(matching_frames) == len(expected_matching_frames)
      for i, frames_match in enumerate(matching_frames):
          assert frames_match == expected_matching_frames[i]
  
imports: import importlib
  import math
  import os
  import shutil
  import sys
  import numpy
  import pytest
  from moviepy.audio.AudioClip import AudioClip, CompositeAudioClip
  from moviepy.audio.fx.multiply_volume import multiply_volume
  from moviepy.audio.tools.cuts import find_audio_period
  from moviepy.video.compositing.concatenate import concatenate_videoclips
  from moviepy.video.fx.loop import loop
  from moviepy.video.fx.time_mirror import time_mirror
  from moviepy.video.io.VideoFileClip import VideoFileClip
  from moviepy.video.tools.credits import CreditsClip
  from moviepy.video.tools.cuts import FramesMatch, FramesMatches, detect_scenes, find_video_period
  from moviepy.video.tools.drawing import circle, color_gradient, color_split
  from moviepy.video.tools.interpolators import Interpolator, Trajectory
  from moviepy.video.VideoClip import BitmapClip, ColorClip, ImageClip, VideoClip
label_desc: Use image node_id 5 for calling a global function with example usage: test_FramesMatches_filter() without return types