<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_violation_if_found(self, node, lint_context):
 """ Returns a violation if the node is invalid. """

        if self.is_valid(node, lint_context):
            return None

        return self.create_violation_report(node, lint_context)