No, Megatron survives in Transformers: Revenge of the Fallen — at the end he's shown flying away rather than being destroyed.