code: def status(self):
  		
  		# Get the pid from the pidfile
  		try:
  			pf = file(self.pidfile,'r')
  			pid = int(pf.read().strip())
  			pf.close()
  		except IOError:
  			pid = None
  
  		if not pid:
  			return False
  
  		try:
  			return os.path.exists("/proc/{0}".format(pid))
  		except OSError:
  			return False
docs: Check if the daemon is currently running.
  		Requires procfs, so it will only work on POSIX compliant OS'.