is.format function

Determine whether an object is a user-defined format