<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def encode_to_bin(value):
 """ ASCII -> 0100000101010111010000110100100101001001 """

    for char in value:
        for exp in EXP:
            if char & exp:
                yield True
            else:
                yield False