def _bit_is_one(self, n, hash_bytes):
scale = <NUM_LIT:16>  <EOL>if not hash_bytes[int(n / (scale / <NUM_LIT:2>))] >> int(<EOL>(scale / <NUM_LIT:2>) - ((n % (scale / <NUM_LIT:2>)) + <NUM_LIT:1>)) & <NUM_LIT:1> == <NUM_LIT:1>:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Check if the n (index) of hash_bytes is 1 or 0.