for "true / false" part:
=IF(ISTEXT(REGEXEXTRACT(A1;"sites"));"True";"False")
for "more words crossreferenced with another sheet" part:
=IF(ISTEXT(FILTER({'sheet1'!A1:A3};{'sheet1'!A1:A3}=A1));"True";"False")
You can use :REGEXMATCH
=IF(REGEXMATCH(A1, "sites"), 1, 0)
To explain, returns true if and only if the argument is a substring of your string.REGEXMATCH
Here's the final formula:
=IF(ISNUMBER(MATCH(B5,A:A,0)),"Yes","No")
For the specific case on the question it looks to me that the formula included already has the simpler formula
=IF(OR(A1="Cyan",A1="Magenta",A1="Yello",A1="Key"),"CMYK","Other")
as the alternatives are more complex in one or another way.
IFS and SWITCH are pretty new Google Sheets built-in functions. Side-note: their help articles are not translated yet to Spanish. If they were found to not be any less verbose, then the following examples of alternatives will not found any less verbose either.
If "foobar" is all in one column, I think a simple solution would be to create a filter, then click the dropdown to select foobar.
Check out the section titled "Filter your data" on this link https://support.google.com/docs/answer/3540681