Symfony\Component\DomCrawler\Form::has
Returns true if the named field exists.
Signature
public function has(string
$name )
Parameters
$name
— string- The field name
Returns
- Boolean
- true if the field exists, false otherwise