def get_parameter(parameters, name):
 if ((name not in parameters) or (len(parameters[name]) == 0)):
  return None
 return parameters[name][0]

def get_parameter ( parameters , name ) : if ( ( name not in parameters ) or ( len ( parameters [ name ] ) == 0 ) ) : return None return parameters [ name ] [ 0 ]
returns the value of a cgroup parameter for a container path path to the container parent directory default: /var/lib/lxc .