Is the fruit a nut?

Yes
- OR -

Is the fruit a LEGUME (a pod containing seeds)?

Yes