export IsPrim class