detect_definition_attribute function

Method in charge of detecting the limit of a dataset header.