Couldn't there be a safe version of this that just makes sure it's a valid combination of bits?