class_docstr: The class of expressions resulting from applying ``BinaryRelation``
  to the arguments.
class_docstr_tok: ["The","class","of","expressions","resulting","from","applying","``","BinaryRelation","``","to","the","arguments","."]
code: def __bool__(self):
      ret = ask(self)
      if ret is None:
          raise TypeError("Cannot determine truth value of %s" % self)
      return ret
  
imports: from typing import Optional
  from sympy.core.singleton import S
  from sympy.assumptions import AppliedPredicate, ask, Predicate, Q
  from sympy.core.kind import BooleanKind
  from sympy.core.relational import Eq, Ne, Gt, Lt, Ge, Le
  from sympy.logic.boolalg import conjuncts, Not
label_desc: Use image node_id 7 for calling the AppliedBinaryRelation obj's underlying member method code with example usage: obj.__bool__() and returns: ret