Added a containsLogic() convenience search method to FunctionTrait.