<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def display_notes(self, notes):
 """Renders "notes" reported by ENSIME, such as typecheck errors."""


        # TODO: this can probably be a cached property like isneovim
        hassyntastic = bool(int(self._vim.eval('exists(":SyntasticCheck")')))

        if hassyntastic:
            self.__display_notes_with_syntastic(notes)
        else:
            self.__display_notes(notes)

        self._vim.command('redraw!')