A resident who wishes to challenge the validity of an ordinance need not wait until it has been enforced against them (although it may be challenged at that time). Instead, a resident may bring an action for a declaratory judgment alleging that the ordinance is void because it was not properly noticed, goes beyond the county charter, is arbitrary, discriminatory, or unreasonably vague, or that it is preempted by state or federal law. An ordinance will be deemed preempted if it addresses an activity for which the state has prohibited local regulation altogether, or where it is inconsistent with state law. An ordinance may not permit an activity that is expressly prohibited by state law, or prohibits an activity that is expressly permitted by state law. However, if some state regulation exists as to an activity, political subdivisions may impose further regulations on that activity so long as it is possible for a resident to comply with both sets of regulations.