<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def switch_fingerprint_method(self, old=False):
 """ Switches main fingerprinting method. :param old: if True old fingerprinting method will be used. :return: """

        if old:
            self.has_fingerprint = self.has_fingerprint_moduli
        else:
            self.has_fingerprint = self.has_fingerprint_dlog