結果 : check if line contains string python