coding-system-p

coding-system-p is a built-in function in `C source code'.

(coding-system-p OBJECT)

Return t if OBJECT is nil or a coding-system.
See the documentation of `define-coding-system' for information
about coding-system objects.