<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def verify_login(user, password=None, **connection_args):
    '''
    Attempt to login using the provided credentials.
    If successful, return true.  Otherwise, return False.

    CLI Example:

    .. code-block:: bash

        salt '*' mysql.verify_login root password
    '''
    # Override the connection args for username and password
    connection_args['connection_user'] = user
    connection_args['connection_pass'] = password

    dbc = _connect(**connection_args)
    if dbc is None:
        # Clear the mysql.error if unable to connect
        # if the connection fails, we simply return False
        if 'mysql.error' in __context__:
            del __context__['mysql.error']
        return False
    return True