def check_harmony(tone, harmony_steps, basic_scale):
    """checks if harmony is buildable on current tone with current scale"""
    harmony_ok = True
    for harmony_step in harmony_steps:
        next_tone = (tone + harmony_step) % 12
        if basic_scale[next_tone] == 1:
            tone += harmony_step
        else:
            harmony_ok = False
            break
    return harmony_ok
