FormData.has()
The has() method of the FormData interface returns a boolean indicating whether a FormData object contains a key/value pair with the given name.
Syntax
has(name)
Parameters
name- : The name of the key you want to test for existence.
Return value
true if a key/value pair with the specified name exists; otherwise false.