Returns tuple of unlock data: (is_unlocked, unlocked_datetime).

        .. note::

            `unlocked_datetime` will be ``None`` if achievement if unlocked before 2009-12-01.

        :rtype: tuple[bool, datetime]

def get_unlock_info(self):
        """Returns tuple of unlock data: (is_unlocked, unlocked_datetime).

        .. note::

            `unlocked_datetime` will be ``None`` if achievement if unlocked before 2009-12-01.

        :rtype: tuple[bool, datetime]
        """
        unlocked = CRef.cbool()
        unlocked_at = CRef.cint()

        result = self._iface.get_ach_unlock_info(self.name, unlocked, unlocked_at)

        if not result:
            return None, None

        unlocked = bool(unlocked)
        unlocked_at = int(unlocked_at)

        if unlocked:

            if unlocked_at:
                unlocked_at = datetime.utcfromtimestamp(unlocked_at)

            else:
                unlocked_at = None

        else:
            unlocked_at = None

        return unlocked, unlocked_at