code: def get_current_user():
      
      if pwd is None:
          return getpass.getuser()
      else:
          try:
              return pwd.getpwuid(os.getuid())[0]
          except KeyError as error:
              LOGGER.error('Could not get logged-in user: %s', error)
docs: Return the current username for the logged in user
  
      :rtype: str