该句怎么翻译

该句如何翻译trueifandonlyifthenameshouldbeincludedinthefilelistfalseotherwise[解决办法]true if and

该句如何翻译
true   if   and   only   if   the   name   should   be   included   in   the   file   list;false   otherwise

[解决办法]
true if and only if the name should be included in the file list;false otherwise


当且仅当 文件列表包含 name 返回true

否则 返回false