More details in CheckCredentials reply
Added CheckCredentials utility method, python3 enabled
First import; working version