<p>Given a binary string <code>s</code> and an integer <code>k</code>, return <code>true</code><em>if every binary code of length</em><code>k</code><em>is a substring of</em><code>s</code>. Otherwise, return <code>false</code>.</p>
<strong>Input:</strong> s = "00110110", k = 2
<strong>Output:</strong> true
<strong>Explanation:</strong> The binary codes of length 2 are "00", "01", "10" and "11". They can be all found as substrings at indices 0, 1, 3 and 2 respectively.