Add a predicate for having a pending request
Add a predicate for having a pending request

Add a predicate telling whether a given owner has a pending
request. In this way, an owner can poll for his request: if
he does not have a pending request, his previous asynchronous
request has been granted.

Signed-off-by: Klaus Aehlig <4ce51de36d9068cd7db2eec1151e0f3f95419008@google.com>
Reviewed-by: Petr Pudlak <9d19625f8ee825a2c398462ed335cbcf98f79c32@google.com>

onponomarev/ganeti,mbakke/ganeti,bitemyapp/ganeti,ganeti/ganeti,mbakke/ganeti,bitemyapp/ganeti,apyrgio/ganeti,grnet/snf-ganeti,yiannist/ganeti,onponomarev/ganeti,leshchevds/ganeti,leshchevds/ganeti,ganeti-github-testing/ganeti-test-1,andir/ganeti,yiannist/ganeti,mbakke/ganeti,ganeti/ganeti,dimara/ganeti,apyrgio/ganeti,dimara/ganeti,ganeti-github-testing/ganeti-test-1,andir/ganeti,ganeti/ganeti,andir/ganeti,yiannist/ganeti,leshchevds/ganeti,grnet/snf-ganeti