yes a factory installed disconnecting switch that disconnects all ungrounded conductors is allowed