<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def links(self):
 """Get all links. Returns: list[gkeepapi.node.WebLink]: A list of links. """

        return [annotation for annotation in self._annotations.values()
            if isinstance(annotation, WebLink)
        ]