3.2.3.2. HasCredentials()

DataHubConnection.ConnectionOptions.HasCredentials ( self)

Check if the connection options have credentials.

Returns:
    bool: True if both username and password are set, False otherwise.