code: def unlocked(self):
          
          achieved = CRef.cbool()
          result = self._iface.get_ach(self.name, achieved)
  
          if not result:
              return False
  
          return bool(achieved)
docs: ``True`` if achievement is unlocked.
  
          :rtype: bool