'is_associated' in note_resource = '0' / (at what time orphaned files are detectable)

This thread has a lot of info.