def METHOD_NAME(self, text):
    # return if:
    #  * no content
    #  * no content type specific
    #  * content encoding is not readable
    #  * max recurrsion exceed
    if not text.strip() or not self.content_type:
        return [(0, Other, text)]
    cte = self.content_transfer_encoding
    if cte and cte not in {"8bit", "7bit", "quoted-printable"}:
        return [(0, Other, text)]
    if self.max_nested_level == 0:
        return [(0, Other, text)]
    # get lexer
    try:
        lexer = get_lexer_for_mimetype(self.content_type)
    except ClassNotFound:
        return [(0, Other, text)]
    if isinstance(lexer, type(self)):
        lexer.max_nested_level = self.max_nested_level - 1
    return lexer.get_tokens_unprocessed(text)