Remove call to deprecated MWInit::methodExists with method_exists

MWInit::methodExists was deprecated in 1.22.

Change-Id: Ic20b54889aacc7fac47b6709d14cd17237c5682c