Remove call to deprecated MWInit::methodExists with method_exists

MWInit::methodExists was deprecated in 1.22.

Change-Id: Idd5a989475c5c66a19e00d2f64737f041f1bfe66