def get_attr():

    def inner(self):
        try:
            return getattr(self, ('_' + attr))
        except:
            return None
    return inner
def get_attr():

    def inner(self):
        try:
            return getattr(self, ('_' + attr))
        except:
            return None
    return inner