Javascript Check If String Is Not Null In Python 3 What Is The Output