remove () around $user instanceof UserInterface