feat(kernel/builtin): add is_* functions

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
feat(kernel/builtin): add is_* functions