def GetStatus(plist):
 try:
  return plist['RunAtLoad']
 except KeyError:
  return 'False'

def GetStatus ( plist ) : try : return plist [ 'RunAtLoad' ] except KeyError : return 'False'
plists may have a runatload key .