fixed bug: 'isStatement' for function body == 'hasBlockBody'
not vice versa