rename WMURL.valid -> WMURL.isValid