def validate(self):
        """
        Check if an access token is valid

        Returns:
            dict: Empty or error dict
        """
        endpoint = '/validate'

        payload = dict(accessToken=self.access_token)
        rep = self._ygg_req(endpoint, payload)
        return not bool(rep)
Check if an access token is valid

        Returns:
            dict: Empty or error dict