exposed an easy way to check for Primitives.