class_docstr: Rule class to handle processing
docstr: Process will ensure this record is valid for this matcher
  
  Args:
      func (function): Matcher function supplied in the rule decorator
      record (dict): Record that the matcher should be applied against
  
  Returns:
      bool: True if the matcher applied to this record, False otherwise
docstr_tok: ["Process","will","ensure","this","record","is","valid","for","this","matcher","Args",":","func","(","function",")",":","Matcher","function","supplied","in","the","rule","decorator","record","(","dict",")",":","Record","that","the","matcher","should","be","applied","against","Returns",":","bool",":","True","if","the","matcher","applied","to","this","record",",","False","otherwise"]
code: def _run_matcher(cls, func, record):
      """Process will ensure this record is valid for this matcher
  
      Args:
          func (function): Matcher function supplied in the rule decorator
          record (dict): Record that the matcher should be applied against
  
      Returns:
          bool: True if the matcher applied to this record, False otherwise
      """
      try:
          return func(record)
      except Exception:  # pylint: disable=broad-except
          LOGGER.exception(
              "Encountered error with matcher: %s", func.__name__
          )
  
      return False
  
imports: import ast
  from copy import deepcopy
  import hashlib
  import inspect
  import json
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 5 for calling the Rule obj's underlying member method code with example usage: obj._run_matcher(cls, func, record) and returns: False, func