code: def take_until_including(condition):
      
      def take_until_including_(interable):
          for i in interable:
              if not condition(i):
                  yield i
              else:
                  yield i
                  break
      return take_until_including_
docs: >>> [1, 4, 6, 4, 1] > take_until_including(X > 5) | list
      [1, 4, 6]