old_contents: from tryp.maybe import Empty, Maybe
  
  
  class Boolean(object):
  
      def __init__(self, value: bool) -> None:
          self.value = value
  
      def maybe(self, value):
          return Maybe(value) if self else Empty()
  
      def flat_maybe(self, value: Maybe):
          return value if self else Empty()
  
      def __nonzero__(self):
          return self.value
  
  __all__ = ['Boolean']
  
new_contents: from tryp.maybe import Empty, Maybe
  
  
  class Boolean(object):
  
      def __init__(self, value: bool) -> None:
          self.value = bool(value)
  
      def maybe(self, value):
          return Maybe(value) if self else Empty()
  
      def flat_maybe(self, value: Maybe):
          return value if self else Empty()
  
      def __nonzero__(self):
          return self.value
  
      def __bool__(self):
          return self.value
  
  __all__ = ['Boolean']
  
subject: make Boolean behave like it should