#PHP, 27 26 24 Bytes#
<?=+!!ip2long($argv1);
PHP, 27 26 24 Bytes
<?=+!!ip2long($argv[1]);
Based on @rexkogitans and @nwellnhof solutions Fails for 0.0.0.0 because PHP internal function 0.0.0.0 is not considered a valid IP address Try it!