A writ of quo warranto is a notice of demand initiated to determine by what authority a person claims an office, franchise, or privilege