def METHOD_NAME(db_session, user_dibbler) -> None:
    """Test to verify authenticate method on UserSession with a suspended user."""
    dibbler_session = models.LoginSession(
        account=user_dibbler,
        ipaddr='192.168.1.4',
        user_agent=sample_user_agent,
        accessed_at=utcnow(),
    )
    db_session.add(dibbler_session)
    db_session.commit()
    result = models.LoginSession.authenticate(dibbler_session.buid)
    assert isinstance(result, models.LoginSession)
    assert result == dibbler_session
    # Now suspend the user
    user_dibbler.mark_suspended()
    db_session.commit()
    with pytest.raises(models.LoginSessionInactiveUserError) as exc_info:
        models.LoginSession.authenticate(dibbler_session.buid)
    assert exc_info.value.args[0] == dibbler_session
    assert exc_info.value.args[0].account == user_dibbler
    assert not user_dibbler.state.ACTIVE
    assert user_dibbler.state.SUSPENDED
    # Again, silent mode simply returns None
    assert models.LoginSession.authenticate(dibbler_session.buid, silent=True) is None