Just figured it out.
print(packet.frame.packet_flags)
I was trying .flags but looked up all the field names with packet.frame.field_names
packet.frame.field_names