I believe the answer is: Read the company's policy manual
Most companies tried to avoid as much as legal risk possible by requiring us to sign a contract which could take up to a hundred pages. To make sure you could adhere to the law, you could either read the manual yourself or hire legal professionals to examine it for you.