getId() === $entity->get('userId') && $user->isApi(); } }