I think that’s the tricky part. Hence the whole idea of the philosophical zombie. You can’t be sure anything besides yourself has consciousness, or is just imitating consciousness