def METHOD_NAME(self, checksum_type_in=None, checksum_in=None):
    if checksum_type_in and checksum_in:
        self.checksum_type = checksum_type_in
        self.checksum = checksum_in
        if not((checksum_type_in in self.checksums) and (self.checksums[checksum_type_in] == checksum_in)):
            self.checksums[checksum_type_in] = checksum_in