code: def contains_equation(self, equation_boxes=None):
      conditions = [
          s.block_type == "Formula" for l in self.lines for s in l.spans
      ]
      if equation_boxes:
          conditions += [
              multiple_boxes_intersect(self.bbox, equation_boxes)
          ]
      return any(conditions)
  
imports: from collections import Counter
  from typing import List, Optional, Tuple
  from pydantic import BaseModel, field_validator
  import ftfy
  from marker.bbox import boxes_intersect_pct, multiple_boxes_intersect
  from marker.settings import settings
label_desc: Use image node_id 2 for calling the Block obj's underlying member method code with example usage: obj.contains_equation(equation_boxes) and returns: any