has method

bool has(
  1. int flag
)

Implementation

bool has(int flag) => (bits & flag) != 0;