def _reconstruct_token(key):
    """Reconstruct a token from a key in a graph ('SomeName_<token>')"""
    if len(key) < 34 or key[-33] != "_":
        return
    token = key[-32:]
    try:
        int(token, 16)
    except ValueError:
        return None
    return token.lower()