The activity or condition of being employed or otherwise working as a primary endeavor in the government or other public function.