(1) Where, whether on a complaint or representation made to him or her or otherwise, the Director or a Surveyor of Ships has reason to believe that any Saint Lucian ship, or any foreign ship at a port in Saint Lucia is an unseaworthy ship, the Director or a Surveyor of Ships shall, if the complaint or representation is made in sufficient time before the sailing of the ship, ascertain by inspection or survey as necessary, whether or not the ship ought to be detained.