TMSFNCIpEdit Get valid IPAddress

Good afternoon to all,
there's a way to check if an ip address is valid?
I don't want check if exist just that is not like 192.0.0.12 or 192.168.0.0 but is somthing else without "0".

I have done a non "elegant" function so there's a native component function?

Thank you for reply
Best regards
Daniele