import re


def is_sandbox(title):
    """
    Return True if the title looks like it belongs to a sandbox.
    """
    SANDBOXES = (
        "Wikipedia:Sandbox",
        "Wikipedia talk:Sandbox",
        "Wikipedia:Articles for creation/AFC sandbox",
        "Wikipedia:AutoWikiBrowser/Sandbox",
        "User:Sandbox",
        "User talk:Sandbox",
        "User talk:Sandbox for user warnings",
        "User talk:192.0.2.16",
        "User talk:2001:DB8:10:0:0:0:0:1",
    )
    if title in SANDBOXES:
        return True
    return bool(re.search(r"/sandbox(?: ?\d+)?(?:/|\Z)", title, flags=re.I))