how to check the laws