code: def is_consonant(note1, note2, include_fourths=True):
      
      return (is_perfect_consonant(note1, note2, include_fourths) or
              is_imperfect_consonant(note1, note2))
docs: Return True if the interval is consonant.
  
      A consonance is a harmony, chord, or interval considered stable, as
      opposed to a dissonance.
  
      This function tests whether the given interval is consonant. This
      basically means that it checks whether the interval is (or sounds like)
      a unison, third, sixth, perfect fourth or perfect fifth.
  
      In classical music the fourth is considered dissonant when used
      contrapuntal, which is why you can choose to exclude it.