May be involved in chemotaxis. [protein]-L-glutamate 5-O-methyl ester + H2O = H(+) + L-glutamyl-[protein] + methanol H2O + L-glutaminyl-[protein] = L-glutamyl-[protein] + NH4(+) Belongs to the CheB family.