has method

Whether this instance has all the bit fields specified in other.

Implementation

bool has(ORIENTATION_PREFERENCE other) => _ & other._ == other._;