'Check invalid args'

def check_args(self):

    if self.contact:
        if ((len(self.contact) > 255) or (len(self.contact) < 1)):
            self.module.fail_json(msg=('Error:    The    len    of    contact    %s    is    out    of    [1    -    255].' % self.contact))
    else:
        self.module.fail_json(msg='Error:    The    len    of    contact    is    0.')
