With Leovold in play. Can an opponent cast a careful study, fail to draw cards, but still be able to discard?

Also, with Leovold in play. Can an opponent brainstorm, fail to draw, but still place 2 cards back on the library?

Sent from my Pixel using Tapatalk