SQL-RECORDING-P — Tests whether SQL commands or results are being recorded.
Function
typeOne of the following keyword symbols: :commands, :results, :both or :either defaulting to :commands.
databaseA database object. This will default to *default-database*.
resultA Boolean.
Predicate to test whether the SQL recording specified by
      type is currently enabled for
      database which defaults to
      *default-database*.
      type may be one of
      :commands, :results,
      :both or :either, defaulting
      to :commands, otherwise NIL is returned.