<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def connections_to_object(self, to_obj):
 """ Returns a ``Connection`` query set matching all connections with the given object as a destination. """

        self._validate_ctypes(None, to_obj)
        return self.connections.filter(to_pk=to_obj.pk)