Verify if the head already closed

No need to use the $exclude_types