channel - an integer from 0 to 31.
channel
Returns true if the given layer is enabled.
bool isEnabled(int channel) => (mask & (1 << channel | 0)) != 0;