I do not know any real indicators that can be used to determine whether something is "obsolete code" or not, but something older than just written can be considered a legacy. Outdated code means different things to different people / organizations, so it really is somewhat subjective.
source
share