class_docstr: A pattern is used to select specs from a group of candidate specs based on class-defined criteria.
  
  This could be named SpecFilter as well, but a filter is often used in the context of the WhereFilter.
docstr: Returns true if this spec matches any of the given specs.
docstr_tok: ["Returns","true","if","this","spec","matches","any","of","the","given","specs","."]
code: def matches_any(
      self, candidate_specs: Sequence[InstanceSpec]
  ) -> bool:
      """Returns true if this spec matches any of the given specs."""
      return len(self.match(candidate_specs)) > 0
  
file_path: metricflow/metricflow/specs/patterns/spec_pattern.py
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from typing import Sequence
  from metricflow.specs.specs import InstanceSpec
label_desc: Use image node_id 2 for calling the SpecPattern obj's underlying member method code with example usage: obj.matches_any(candidate_specs) and returns: unknown