changed pass_req test to simpler isinstance syntax

as requested, changed the syntax for the pass_req test.