The Container class has a methods you can call to get information about the components it contains.