proto2js isValidImport, see #16