Yes, the tank it came from was cycled. It may add a little help to your cycle, but I wouldn't count on it cycling your tank instantly.
Plants also use up ammonia and nitrites, so it may help lessen the effects of the cycle. However, if it's one small plant in a large tank, the effect will be minimal.