Shorter names for isValidPath and isValidName