Input
A non-empty string or list of capital letters k with length between 3 to 5000.
Output
A value indicating whether k can be expressed as a+b+b, where a and b are non-empty.
Truthy test cases
SSS
SNYYY
SNYY
SNNYY
SNYNY
Falsy test cases
FALSYTESTCASES
FALSYFALSYTESTCASES
FALSYTESTCASESXFALSYTESTCASES
FALSYTESTCASESFALSYTESTCASES
SMARTIEATIE
Neglegible cases:
XX
lowercase
123
ABC (repeated 2000 times)
SNYYNYY. \$\endgroup\$