def lookup_family(family):
for ops in nl_list_for_each_entry(genl_ops(), genl_ops_list, '<STR_LIT>'):<EOL><INDENT>if ops.o_id == family:<EOL><INDENT>return ops<EOL><DEDENT><DEDENT>return None<EOL>
https://github.com/thom311/libnl/blob/libnl3_2_25/lib/genl/mngt.c#L94.

    Positional arguments:
    family -- integer.

    Returns:
    genl_ops class instance or None.