code: def evaluate_binop_logical(self, operation, left, right, **kwargs):
          
          if not operation in self.binops_logical:
              raise ValueError("Invalid logical binary operation '{}'".format(operation))
          result = self.binops_logical[operation](left, right)
          return bool(result)
docs: Evaluate given logical binary operation with given operands.