Simple call with all parameters specified.
import RPLib sdeOwner = "C:/GIS/SDEADMIN@GIS.sde" RPLib.killconnections(sdeOwner)
If Else logic with all parameters specified.
import RPLib sdeOwner = "C:/GIS/SDEADMIN@GIS.sde" if RPLib.killconnections(sdeOwner): print("successful, run another tool") else: print("failed, run another tool")