Cache the returned result of isPOD
Merge pull request #3059 from ibuclaw/cacheispod

Cache the returned result of isPOD