
#TODO: seed, copy

mutable struct MultiBinary <: AbstractSpace
    n::Int
    dtype::DataType
    shape::Tuple
    MultiBinary(n::Int) = new(n, BitArray{1}, (n, ))
end

sample(multibin_obj::MultiBinary) = (multibin_obj.dtype)(rand(0:1, multibin_obj.n))

contains(multibin_obj::MultiBinary, x) = all((x .== 0) .| (x .== 1))

Base.:(==)(multibin_obj::MultiBinary, other::MultiBinary) = multibin_obj.n == other.n
