will return true if and only if "perfect"(case-insensitive) appears at either the beginning or the end (or both).
will return true if and only if "perfect"(case-insensitive) appears neither at the beginning nor the end.
has noted, beginnings such as "perfection" and endings such as "imperfect" will also be matched.