def _looks_like_lru_cache(node):
if not node.decorators:<EOL><INDENT>return False<EOL><DEDENT>for decorator in node.decorators.nodes:<EOL><INDENT>if not isinstance(decorator, astroid.Call):<EOL><INDENT>continue<EOL><DEDENT>if _looks_like_functools_member(decorator, "<STR_LIT>"):<EOL><INDENT>return True<EOL><DEDENT><DEDENT>return False<EOL>
Check if the given function node is decorated with lru_cache.