code: def is_valid_note(note):
      
      if not _note_dict.has_key(note[0]):
          return False
      for post in note[1:]:
          if post != 'b' and post != '#':
              return False
      return True
docs: Return True if note is in a recognised format. False if not.