Added a validation method for external authorization tokens.

A function that takes into considerations all reasons that an external authorization token may be invalid and returns a simple boolean result has been added.