I was under the impression that it was bad practice to inet imports in a conditional is this no longer the case ?