text: import pathlib
  from ixtlilton_tools._private_tools.exceptions import DirectoryConflict
  
  def exists(username):
  
      path = pathlib.Path('/home/'+username)
  
      if path.exists() and not path.is_dir():
          raise DirectoryConflict(f'The home directory of user {username} exists but is not a directory')
  
      return path.exists()
  
  