Yes the Solidworks API have an Layer Manager object wich is parent of the object Layer.
The object layer have the following properties:
Layer.Color
Layer.Description
Layer.Name
Layer.Style
Layer.Visible
Layer.Width
and one Method Layer.GetID.
Turn Layer.Visible On and Off to make it happen.
Layer.Visible = False
Remember that you need to access the object Layer from the LayerMgr wich it is a collection of Layers.