This information is heavily cached in the component class. This should be used wherever possible rather than checking on disk.