code: def _checkCopyright(self, text, node):
          
          if not re.search(br"%s\s*\n\s*%s" % self.commentsCopyright, text):
              self.add_message('W9001', node=node)
docs: Check whether the module has copyright header.
  
          @param text: codes of the module
          @param node: node of the module