All new MacBook Pro laptops have a recovery partition, unless the system was modified prior to sale. Hold down Option when you press the power button and Recovery should come up as a boot option. That starts Internet Recovery and allows the computer to have the OS reinstalled without media.