This could just have an argument of var/jobtitle = "string"
then return (jobtitle in blacklisted)
No need for all this code.