All dwellings, buildings, or other structures which are unsafe, unsanitary, or otherwise dangerous to human life or which, in relation to existing uses, constitute a hazard to safety or health by reason of inadequate maintenance, dilapidation, obsolescence, or abandonment are unlawful.