@classmethod
    def is_enabled(cls, filename, syntax):
        if syntax in 'text.rdoc':  # RDoc.tmLanguage
            return True
        return filename.endswith('.rdoc')
dataset/ETHPy150Open timonwong/OmniMarkupPreviewer/OmniMarkupLib/Renderers/RDocRenderer.py/RDocRenderer.is_enabled/operator `==` -> `in`