codepipeline_poll_for_third_party_jobs function

Determines whether there are any third party jobs for a job worker to act on