function overlapsType(oneType, otherType) {
  return !!(oneType & otherType);
}
@param {number} oneType One type.
@param {number} otherType Another type.
@return {boolean} The set of types overlap (share a common specific type)