結果 : how to determine if a composite function exists