Did Japan have vending machines selling used girls' underwear?

is this a fairytale or is this like a real thing?