That's false.
Here's a counter-example:
If an animal is a dog, then it has four legs. This is true.
but
If an animal has four legs, then it is a dog. This is not necessarily true.
Another one:
If a shape is a square, then it has four sides. Always true.
but
If a shape has four sides, then it is a square. Usually not true.