checkarg_include_metadata function

Check that include_metadata has the right elements & format for API call

Check that include_metadata has the right elements & format for API call

checkarg_include_metadata(include_metadata)