code: def is_up_to_date(self, server_version):
          
          client_split = self.__version__.split('.')
          client_len = len(client_split)
          server_split = server_version.split('.')
          server_len = len(server_split)
  
          # Make both lists the same length
          for i in range(client_len, server_len):
              client_split.append('0')
          for i in range(server_len, client_len):
              server_split.append('0')
  
          for i in range(0, client_len):
              if 'b' in client_split[i]:
                  # Using a beta version, don't check
                  return True
              client = int(client_split[i])
              server = int(server_split[i])
              if client < server:
                  return False
              elif server < client:
                  return True
  
          return True
docs: determine if a client (on the local user's machine) is up to date
              with the version provided on the server. Return a boolean with True
              or False
               Parameters
              ==========
              server_version: the server version string to compare to the host