No, not necessarily. Fig trees that are capable of producing edible fruit will have both male and female flowers on them; however, there is a type of fig tree that produces inedible fruit, is considered a male tree, and is typically used to pollinate trees that produce edible fruit. This particular tree is a Caprifig tree.