Automation-Hat Digital Inputs

Hi, I am new here.
Last week I buy an Automation-Hat.
The python library works fine.
I have question to digital inputs.
In the python library the Inputs are set with floating input.
If you have long wires connected, the wires works as antenna. Should set the input with pulldown resistor ?