Detects whether a trailing non-whitespace token could be the start of a credential.
Trailing token to test.
True if word is a potential credential prefix.
Detects whether a trailing non-whitespace token could be the start of a credential.