use explicit qualification for methods::is

so that it works when methods is not loaded (Rscript)