def _build_domain(v):
    """ Build a variable domain from an initial value
    Args:
        v: Variable initial value
    Returns:
        Variable domain
    """
    if v is True:
        return (1,)
    if v is False:
        return (0,)
    return (v,)