no, there is no such function yet. Let's just move this logic to the service, but later