def isObsolete(self, proto):
        # ARGUMENT DIRECTION AND DOCUMENTATION
        addendum = proto.findNextSiblings( 'div', limit=1)[0]
        #try: self.xprint( addendum.findAll(text=True ) )
        #except: pass

        #if addendum.findAll( text = re.compile( '(This method is obsolete.)|(Deprecated:)') ):

        if addendum.findAll( text=lambda x: x in self.OBSOLETE_MSG ):
            self.xprint( "OBSOLETE" )
            self.currentMethod = None
            return True
        return False
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/pymel/internal/parsers.py/ApiDocParser.isObsolete/original