Answer:
If the opportunity cost for producing a particular good is lower for one producer than the other the former producer has comparative advantage for producing the good.
Opportunity cost is a way to measure the cost of a producer's choice of production and having a comparative advantage over the production of that particular good is a good indicator of the productive choice.