<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _display_token(self):
 """ Display token information or redirect to login prompt if none is available. """

        if self.token is None:
            return "301 Moved", "", {"Location": "/login"}

        return ("200 OK",
                self.TOKEN_TEMPLATE.format(
                    access_token=self.token["access_token"]),
                {"Content-Type": "text/html"})