code: def converged_ionic(self):
          
          nsw = self.parameters.get("NSW", 0)
          return nsw <= 1 or len(self.ionic_steps) < nsw
docs: Checks that ionic step convergence has been reached, i.e. that vasp
          exited before reaching the max ionic steps for a relaxation run