parameters: (line)
docstring: This function is used to check whether a line of alara output file contains
      wanted data. The line contains data is conposed of:
          - nuc : nuc name (total or total)
          - data for each decay time (including 'shutdown': floats
  
      Parameters
      ----------
      line : string
          A line from ALARA output.txt
  
      Returns
      -------
      True : if this line contains results data
      False : if this line doesn't contain results data
docstring_summary: This function is used to check whether a line of alara output file contains
      wanted data. The line contains data is conposed of:
          - nuc : nuc name (total or total)
          - data for each decay time (including 'shutdown': floats
docstring_tokens: This function is used to check whether a line of alara output file contains wanted data . The line contains data is conposed of : - nuc : nuc name ( total or total ) - data for each decay time ( including shutdown : floats
function: def _is_data(line):
      """
      This function is used to check whether a line of alara output file contains
      wanted data. The line contains data is conposed of:
          - nuc : nuc name (total or total)
          - data for each decay time (including 'shutdown': floats
  
      Parameters
      ----------
      line : string
          A line from ALARA output.txt
  
      Returns
      -------
      True : if this line contains results data
      False : if this line doesn't contain results data
      """
      # check the list from the second value, if they are float, then return True
      tokens = line.strip().split()
      if len(tokens) < 2:
          return False
      # first block should be a valid nucname or 'total'
      if not (nucname.isnuclide(tokens[0]) or tokens[0] == 'TOTAL'.lower()):
          return False
      try:
          np.array(tokens[1:]).astype(float)
          return True
      except:
          return False
function_tokens: def _is_data ( line ) : # check the list from the second value, if they are float, then return True tokens = line . strip ( ) . split ( ) if len ( tokens ) < 2 : return False # first block should be a valid nucname or 'total' if not ( nucname . isnuclide ( tokens [ 0 ] ) or tokens [ 0 ] == 'TOTAL' . lower ( ) ) : return False try : np . array ( tokens [ 1 : ] ) . astype ( float ) return True except : return False