def doBordersMatch(s1: str, s2: str) -> bool:
   """
   Returns True if a border equals another, normally or reversed.
   This taught me how to use this OP slice [::-1]:
   https://www.javatpoint.com/how-to-reverse-a-string-in-python
   """
   if s1 == s2 or s1 == s2[::-1]:
      return True
   return False