2 added 110 characters in body

# C++ (gcc), 2436 bytes

#define f(x)(x+x).find(x,1)<x.size()


Another port of xnor's solution. Uses a macro to expand the argument into the expression. The argument is assumed to be of type std::string.

# C++ (gcc), 24 bytes

(x+x).find(x,1)<x.size()


Try it online!

Another port of xnor's solution.

# C++ (gcc), 36 bytes

#define f(x)(x+x).find(x,1)<x.size()


Try it online!

Another port of xnor's solution. Uses a macro to expand the argument into the expression. The argument is assumed to be of type std::string.

1

# C++ (gcc), 24 bytes

(x+x).find(x,1)<x.size()


Try it online!

Another port of xnor's solution.