Get the list of objects on a layer in python
There is no special property or method to retrieve all objects on a certain layer in Blender. There is a context member visible_objects, but multiple properties affect it (visibility of object, visibility of layer).

Thus, you should use a plain Python list comprehension:

objects_on_2nd_layer = [ob for ob in bpy.context.scene.objects if ob.layers[1]]