UPDATE: As it takes some time to render the needed element, it is a good practice to use waits. Info's here

UPDATE2: You can use this code:

from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait
WebDriverWait(driver, 5).until(
EC.visibility_of_element_located((By.XPATH, '/html/body/div[6]')),
"Element was not displayed after 5 seconds")

If element's visibility is not critical you can use try-except block

Email codedump link for Python Selenium WebDriver. How to check/verify that drop-down menu with suggested results is displayed?