UE Legacy Sampels for commercial use

Hey there!
Am I allowed to use any UE Legacy Samples inside of UE for commercial use?
Meaning that I use this sample Shooter Game in UE Legacy Samples - UE Marketplace (unrealengine.com) as the base of my game and then sell it later on.

Are there any restrictions?
Can I use the assets or the code?

Thanks for any help :slight_smile: