Add awaiting external dependency predicate

cc @myronmarston 
I think that "awaiting" would be better to use here instead of "pending" given that the method name uses "awaiting" and it was initially unclear to me if they mean the same thing.