Preloaded scripts parameters and return value

Hey!

Could someone provide an example of some python script that is saved in scripts directory?
The script should take one parameter and return true/false.