Do stand up comics write all their own jokes?

Apparently not. Here is an interesting article about writing jokes for stand-up comics.
It talks about which comics are likely to buy gags, tailoring the gag to the comic, when and how to approach comics etc.