結果 : python check if two intervals overlap