Yes, it is. You don't need a library card to return a book. Your friend can use any of the self service machines.