Is it worth buying a derelict property?

Is it worth buying a derelict property?