def nla_is_nested(attr):
return not not attr.nla_type & NLA_F_NESTED<EOL>
Return True if attribute has NLA_F_NESTED flag set.

    https://github.com/thom311/libnl/blob/libnl3_2_25/lib/attr.c#L897

    Positional arguments:
    attr -- Netlink attribute (nlattr class instance).

    Returns:
    True if attribute has NLA_F_NESTED flag set, otherwise False.