code: def failed_login_limit_reached(self):
          
          login_limit = 10
          if self.failed_logins and self.failed_logins >= login_limit:
              return True
          else:
              return False
docs: A boolean method to check for failed login limit being reached