Readable procedural logic in dependency check