def check_found_credentials(medusa_stdout: str) -> bool:
    """
    Check medusa output if bruteforce ran successfully and found valid credentials.

    :param medusa_stdout: Stdout of medusa bruteforce
    :return: Value representing if medusa was successful in finding valid credentials
    """
    if "ACCOUNT FOUND:" in medusa_stdout and "[SUCCESS]" in medusa_stdout:
        return True
    return False