def _check_version(self, last_version: Optional[int], current_version: int) -> bool:
    if (last_version is None):
        return True
    return (current_version > last_version)
def _check_version(self, last_version: Optional[int], current_version: int) -> bool:
    if (last_version is None):
        return True
    return (current_version > last_version)