original_docstring: 
          Ensure all the mandatory settings are present
          
docstring: Ensure all the mandatory settings are present
docstring_tokens: Ensure all the mandatory settings are present
code: def check_mandatory_fields(self, parsed_user_input):
          """
          Ensure all the mandatory settings are present
          """
          for entry in self.required_settings:
              if entry not in parsed_user_input:
                  raise ValueError('data_dir must be defined')
  
          return parsed_user_input
code_tokens: def check_mandatory_fields ( self , parsed_user_input ) : for entry in self . required_settings : if entry not in parsed_user_input : raise ValueError ( 'data_dir must be defined' ) return parsed_user_input
short_docstring: Ensure all the mandatory settings are present
short_docstring_tokens: Ensure all the mandatory settings are present
comment: """
          Ensure all the mandatory settings are present
          """