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 or 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