Why do you check if entry is a Entry?