Add awaiting external dependency predicate

cc @myronmarston