if snippet.type == 9 or snippet.type == 17 then if not endsWith(snippet.text, 'return true') then return {'append-line', 'return true'} end end