code: def get_violation_if_found(self, node, lint_context):
          
          if self.is_valid(node, lint_context):
              return None
  
          return self.create_violation_report(node, lint_context)
docs: Returns a violation if the node is invalid.