I have been unable to find any built-in method of checking if something is a valid type specifier.
Does such a predicate exist?
(I would make one myself, but alas, the consequences of passing something not a type specifier to typep
are undefined. And check-type
has no exceptional situations according to the hyperspec.)