code: def is_match(subject: Expression, pattern: Expression) -> bool:
      
      return any(True for _ in match(subject, pattern))
docs: Check whether the given *subject* matches given *pattern*.
  
      Args:
          subject:
              The subject.
          pattern:
              The pattern.
  
      Returns:
          True iff the subject matches the pattern.