object—an object.
generalized-boolean—a generalized boolean.
Returns true if object is a keyword1; otherwise, returns false.
(keywordp 'elephant) → false (keywordp 12) → false (keywordp :test) → true (keywordp ':test) → true (keywordp nil) → false (keywordp :nil) → true (keywordp '(:test)) → false (keywordp "hello") → false (keywordp ":hello") → false (keywordp '&optional) → false