I'm trying to locate element by
element=driver.find_element_by_partial_link_text("text")
in Python selenium and the element does not always exist. Is there a quick line to check if it exists and get NULL or FALSE in place of the error message when it doesn't exist?