class_docstr: Retries if the result verifies a predicate.
class_docstr_tok: ["Retries","if","the","result","verifies","a","predicate","."]
code: def __call__(self, retry_state: "RetryCallState") -> bool:
      if retry_state.outcome is None:
          raise RuntimeError("__call__() called before outcome was set")
  
      if not retry_state.outcome.failed:
          return self.predicate(retry_state.outcome.result())
      else:
          return False
  
imports: import abc
  import re
  import typing
label_desc: Use image node_id 2 for calling the retry_if_result obj's underlying member method code with example usage: obj.__call__(retry_state) and returns: self, False