exposed ports numeric validation

[finishes: #77123572]
Just to make it a bit more generic, I might call it `IsNumericList` or something like that.