There is an implied warranty that the adventure insured is a lawful one, and that, so far as the assured can control the matter, the adventure shall be carried out in a lawful manner.