All bonds of the district, to the same extent as bonds of any other municipality, are legal for use by any state or national bank or banks in the state as security for the deposit of funds of the state or of any county, city and county, city, municipality, or other public or municipal corporation within the state.