BitCycle, 329 bytes
BitCycle is certainly not an easy language to solve this in, despite the fact that its only form of data (streams of bits), easily represents the pattern of the lilypond in this ...
Python, 62 47 46 bytes
thanks to @Unrelated String for the idea of alternative input format
-1 byte thanks to @dingledooper
f=lambda p,n:0in(0in p[i::n]for i in range(n))
Attempt This Online!
C (gcc), ...