class QueryCLI:

    def __init__(self, querydict):
        self.querydict = querydict
        self.attributepresented = False
        self.attribute = ''

    def isattributepresented(self):
        return self.attributepresented

    def findattributebyname(self, attribute):
        self.attributepresented = False
        self.attribute = ''
        for query in self.querydict:
            if query['ID'] == attribute:
                self.attributepresented = True
                self.attribute = query['CLI']
        return

    def getattribute(self):
        if type(self.attribute) is str:
            return [self.attribute]
        else:
            return self.attribute

e1ca8369c9c3d6552e4eb13aa4f43f10a2235d41
class QueryCLI:
    <mask token>

    def isattributepresented(self):
        return self.attributepresented
    <mask token>
    <mask token>

class QueryCLI:
    <mask token>

    def isattributepresented(self):
        return self.attributepresented

    def findattributebyname(self, attribute):
        self.attributepresented = False
        self.attribute = ''
        for query in self.querydict:
            if query['ID'] == attribute:
                self.attributepresented = True
                self.attribute = query['CLI']
        return
    <mask token>

class QueryCLI:

    def __init__(self, querydict):
        self.querydict = querydict
        self.attributepresented = False
        self.attribute = ''

    def isattributepresented(self):
        return self.attributepresented

    def findattributebyname(self, attribute):
        self.attributepresented = False
        self.attribute = ''
        for query in self.querydict:
            if query['ID'] == attribute:
                self.attributepresented = True
                self.attribute = query['CLI']
        return
    <mask token>

class QueryCLI:

    def __init__(self, querydict):
        self.querydict = querydict
        self.attributepresented = False
        self.attribute = ''

    def isattributepresented(self):
        return self.attributepresented

    def findattributebyname(self, attribute):
        self.attributepresented = False
        self.attribute = ''
        for query in self.querydict:
            if query['ID'] == attribute:
                self.attributepresented = True
                self.attribute = query['CLI']
        return

    def getattribute(self):
        if type(self.attribute) is str:
            return [self.attribute]
        else:
            return self.attribute
