Is capital punishment legal in Canada?

Canada has abolished capital punishment for all crimes.