Added a check method to check if given character is a root sequence