Add awaiting external dependency predicate

cc @myronmarston 
...and same thing here.