What about this:
return (name in pools)