<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def login(self, username, password=None, email=None, registry=None, reauth=False, **kwargs):
 """ Login to a Docker registry server. :param username: User name for login. :type username: unicode | str :param password: Login password; may be ``None`` if blank. :type password: unicode | str :param email: Optional; email address for login. :type email: unicode | str :param registry: Optional registry URL to log in to. Uses the Docker index by default. :type registry: unicode | str :param reauth: Re-authenticate, even if the login has been successful before. :type reauth: bool :param kwargs: Additional kwargs to :meth:`docker.client.Client.login`. :return: ``True`` if the login has succeeded, or if it has not been necessary as it succeeded before. ``False`` otherwise. :rtype: bool """

        response = super(DockerClientWrapper, self).login(username, password, email, registry, reauth=reauth, **kwargs)
        return response.get('Status') == 'Login Succeeded' or response.get('username') == username