docs: def check_acceptable_xmx(xmx_string):
      """
      BBTools can have their memory set manually. This will check that the memory setting is actually valid
      :param xmx_string: The users requested XMX, as a string.
      :return: True if the Xmx string will be accepted by BBTools, otherwise false.
      """
      acceptable_xmx = True
      acceptable_suffixes = ['K', 'M', 'G']
      if xmx_string[-1].upper() not in acceptable_suffixes:
          acceptable_xmx = False
          logging.error('ERROR: Memory must be specified as K (kilobytes), M (megabytes), or G (gigabytes). Your specified '
                        'suffix was {}.'.format(xmx_string[-1]))
      if '.' in xmx_string:
          acceptable_xmx = False
          logging.error('ERROR: Xmx strings must be integers, floating point numbers are not accepted.')
      if not str.isdigit(xmx_string[:-1]):
          acceptable_xmx = False
          logging.error('ERROR: The amount of memory requested was not an integer.')
      return acceptable_xmx