You have a comparative advantage in producing a good whenever:
a) you enjoy producing that good
b) you can produce more of the good than someone else can using the same resources
c) your opportunity cost is constant
d) your opportunity cost of producing that good is lower than that of other producers
e) you have specific training in the production of that good