Added HasPrefixFold and HasSuffixFold