def get_filter_arg_process_attribute(f, arg):
    """Convert integer to process attribute string."""
    arg_types = {
            0: 'is-plugin',
            1: 'is-installer',
            2: 'is-restricted',
            3: 'is-initproc',
        }
    if arg in arg_types.keys():
        return '%s' % (arg_types[arg])
    else:
        return '%d' % arg