check_metadata_fields_exist function

Check metadata fields exist for checkbox combination