def check_note(note, chord):
if note not in NOTE_VAL_DICT:<EOL><INDENT>raise ValueError("<STR_LIT>".format(chord, note))<EOL><DEDENT>return True<EOL>
Return True if the note is valid.

    :param str note: note to check its validity
    :param str chord: the chord which includes the note
    :rtype: bool