def loginNeeded(self):
    if self._sign_in_re.search(self.title.text):
      return True
    for span in self.find_all('span'):
      if span.text == 'Log in':
        return True
    return False
dataset/ETHPy150Open viewfinderco/viewfinder/clients/ios/scripts/app-tool.py/DevCenterPage.loginNeeded/original