<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def tempoAdjust1(self, tempoFactor):
 """ Adjust tempo based on recent active apical input only :param tempoFactor: scaling signal to MC clock from last sequence item :return: adjusted scaling signal """


    if self.apicalIntersect.any():
      tempoFactor = tempoFactor * 0.5

    else:
      tempoFactor = tempoFactor * 2

    return tempoFactor