def humanReadableMask(mask):
 s = []
 for (k, v) in _FLAG_TO_HUMAN:
  if (k & mask):
   s.append(v)
 return s

def humanReadableMask ( mask ) : s = [ ] for ( k , v ) in _FLAG_TO_HUMAN : if ( k & mask ) : s . append ( v ) return s
auxiliary function that converts an hexadecimal mask into a series of human readable flags .