I struggle to sleep if there's an external stimulus because I end up being too distracted and tempted to interact with it. However, if it's the right kind of stimulus, I can fall asleep just as easily. However, I usually prefer pitch black in absolute quietness.