Rondo Form is a type of musical structure, in which there is a recurring theme/refrain, notated as A. Here are the rules for valid rondo forms:
Create a function which validates whether a given string is a valid Rondo Form.
valid_rondo("ABACADAEAFAGAHAIAJA") ➞ True
valid_rondo("ABA") ➞ True
valid_rondo("ABBACCA") ➞ False
valid_rondo("ACAC") ➞ False
valid_rondo("A") ➞ False