``True`` if achievement is unlocked.

        :rtype: bool

def unlocked(self):
        """``True`` if achievement is unlocked.

        :rtype: bool
        """
        achieved = CRef.cbool()
        result = self._iface.get_ach(self.name, achieved)

        if not result:
            return False

        return bool(achieved)