Programmatically check whether the Client