check.structure function

Check if the structure is compatible with [datsteps()] (internal)