結果 : python check if variable is string and not empty