private bool EntryHasAffixThatMightBeInSlot(ILexEntry lex, bool fIsPrefixSlot)
{
bool fInclude = false; // be pessimistic
var morphTypes = lex.MorphTypes;
foreach (var morphType in morphTypes)
{
if (fIsPrefixSlot)
{
if (morphType.IsPrefixishType)
{
fInclude = true;
break;
}
}
else
{
// is a suffix slot
if (morphType.IsSuffixishType)
{
fInclude = true;
break;
}
}
}
return fInclude;
}