Jelly, 17 12 11 bytes
ẆmþJẎ“£uƇ»e
-5 bytes by adapting emanresu A's approach
-1 byte thanks to ovs!
How it works \$\le\$
ẆmþJẎ“£uƇ»e - Main link. Takes a word W on the left
Ẇ - Contiguous substrings S of W
J - Yield the range 1 ≤ i ≤ len(W)
þ - For each pair (S, i):
m - Take the ith elements of s
Ẏ - Tighten into a list of strings
“£uƇ» - Compressed string; "nice"
e - Is this in the list of strings?