[HOTFIX] hasChildren not defined in Symfony 2.3

Error: Call to undefined method Symfony\Component\Form\Form::hasChildren()

hasChildren not defined in Symfony 2.3