Pyodbc Check If Record Exists