<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def find_triangles(self):
 """ Finds all the triangles present in the given model Examples -------- """

        return list(filter(lambda x: len(x) == 3, nx.find_cliques(self.model)))