Please put these two lines into a method like is_windows?