Add is_type command to value.c