Test whether the username and password are correct.

if(tmClient.isLoginvalid())
	System.out.println("Login is OK!");

Arguments:

None. 

Returns:

boolean, true if login is valid, false otherwise.

Specific error codes:

None. This function does not throw exceptions.