checkarg_include_embedded function

Check include_embedded and format for API call:

Check include_embedded and format for API call:

checkarg_include_embedded(include_embedded)