public function validate_unique($value, $input, $args)
    {
        $result = $this->app->db->table(array_shift($args));

        foreach($args as $arg) {
            $result->where($arg, '=', $value);
        }

        if($result->first()) {
            return false;
        }

        return true;
    }