The district is:
(1) a public entity performing an essential public function; and
(2) a political subdivision of this state.