public function testCanCheckIfIsIp() { $this->assertTrue(Str::isIp('192.168.1.1')); $this->assertFalse(Str::isIp('foobar')); }