Check If Two Strings Match Python