has method

bool has(
  1. SlotEffect effect
)

Check if effect contains another

Implementation

bool has(SlotEffect effect) => (_value & effect._value) == effect._value;