original_docstring: Check whether a jwt token is expired or nearly so
  
          Check the token payload for the expiry date. If a margin is set with the
          `refresh_margin` option, it will return False by the amount of seconds in
          `refresh_margin` before it actually expires.
  
          Args:
              token (bytes): jwt token to verify
  
          Returns:
              expiry (bool):
                 Return True if the token is expired, False otherwise.
          
docstring: Check whether a jwt token is expired or nearly so
  Check the token payload for the expiry date. If a margin is set with the
  `refresh_margin` option, it will return False by the amount of seconds in
  `refresh_margin` before it actually expires.
docstring_tokens: Check whether a jwt token is expired or nearly so Check the token payload for the expiry date . If a margin is set with the ` refresh_margin ` option it will return False by the amount of seconds in ` refresh_margin ` before it actually expires .
code: def _expired(self, token):
          """Check whether a jwt token is expired or nearly so
  
          Check the token payload for the expiry date. If a margin is set with the
          `refresh_margin` option, it will return False by the amount of seconds in
          `refresh_margin` before it actually expires.
  
          Args:
              token (bytes): jwt token to verify
  
          Returns:
              expiry (bool):
                 Return True if the token is expired, False otherwise.
          """
          payload = utils.get_payload(token)
  
          exp = 0
          if "exp" in payload:
              exp = int(payload.get("exp"))
  
          t = time.time() + self.refresh_margin
          return exp <= t
code_tokens: def _expired ( self , token ) : payload = utils . get_payload ( token ) exp = 0 if "exp" in payload : exp = int ( payload . get ( "exp" ) ) t = time . time ( ) + self . refresh_margin return exp <= t
short_docstring: Check whether a jwt token is expired or nearly so
  Check the token payload for the expiry date.
short_docstring_tokens: Check whether a jwt token is expired or nearly so Check the token payload for the expiry date .
comment: """Check whether a jwt token is expired or nearly so
  
          Check the token payload for the expiry date. If a margin is set with the
          `refresh_margin` option, it will return False by the amount of seconds in
          `refresh_margin` before it actually expires.
  
          Args:
              token (bytes): jwt token to verify
  
          Returns:
              expiry (bool):
                 Return True if the token is expired, False otherwise.
          """