def METHOD_NAME(self):
    """ Validates the arguments """
    ModTool._validate(self)
    if not self.info['pattern'] or self.info['pattern'].isspace():
        raise ModToolException("Invalid pattern!")