Cobras ? No one who hasn't got a dangerous animal license and inspection by the council to meet the requirements can keep poisonous snakes.
And only people with loads of experince would even consider applying for a license.
Boas are not a difficult animal to keep, as long as he gets a very young one, he would probably learn enough until it gets really big.
But by your comments, it looks like your friend is probably a very young person who is trying to show off