Nicer isQuoted, both method and test