Is this cockatoo okay?

Found this cockatoo in public and it doesn’t look healthy, I’m worried the beak will grow into its neck and eventually die.