* add function to check whether a token parameter would give us a string