# find if a structure has an element called field
isfield <- function(structure, field){
any( field %in% names(structure) )
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.