'Check args'

def check_args(self):

    if self.acl_name:
        if self.acl_name.isdigit():
            if ((int(self.acl_name) < 2000) or (int(self.acl_name) > 4999)):
                self.module.fail_json(msg='Error:    The    value    of    acl_name    is    out    of    [2000    -    4999].')
        elif ((len(self.acl_name) < 1) or (len(self.acl_name) > 32)):
            self.module.fail_json(msg='Error:    The    len    of    acl_name    is    out    of    [1    -    32].')
    if self.interface:
        regular = ('|    ignore-case    section    include    ^interface    %s$' % self.interface)
        result = self.cli_get_config(regular)
        if (not result):
            self.module.fail_json(msg=('Error:    The    interface    %s    is    not    in    the    device.' % self.interface))
