'Returns the name of first argument if in function.'

def get_self(self):

    if (self.current_function and self.current_function.args.args):
        return self.current_function.args.args[0]
    else:
        return None
