test method

bool test(
  1. Layers layers
)

Implementation

bool test(Layers layers) => (mask & layers.mask) != 0;