code: def login_display(self):
      username = self._wl._get_username()
  
      if username:
          # check to see if we got an entity from the setup call or from the user
          entity = self._entity or self._wl._get_entity()
  
          entity_str = ""
          # check if entity exist, valid (is part of a certain team) and different from the username
          if (
              entity
              and entity in self._wl._get_teams()
              and entity != username
          ):
              entity_str = f" ({click.style(entity, fg='yellow')})"
  
          login_state_str = f"Currently logged in as: {click.style(username, fg='yellow')}{entity_str}"
      else:
          login_state_str = "W&B API key is configured"
  
      login_info_str = f"Use {click.style('`wandb login --relogin`', bold=True)} to force relogin"
      wandb.termlog(
          f"{login_state_str}. {login_info_str}",
          repeat=False,
      )
  
imports: import enum
  import os
  import sys
  from typing import Dict, Optional, Tuple
  import click
  import wandb
  from wandb.errors import AuthenticationError, UsageError
  from wandb.old.settings import Settings
  from ..apis import InternalApi
  from .internal.internal_api import Api
  from .lib import apikey
  from .wandb_settings import Settings, Source
label_desc: Use image node_id 8 for calling the _WandbLogin obj's underlying member method code with example usage: obj.login_display() without return types