exclude method

bool exclude(
  1. int flag
)

Implementation

bool exclude(int flag) => this & flag == none;