Is there a code prohibiting a cord and plug supplying the power to a all in one emergency light?