layers - a Layers object
layers
Returns true if this and the passed layers object have at least one layer in common.
bool test(Layers layers) => (mask & layers.mask) != 0;