I have a 5x5 grid of Light objects. When one is switched, the four adjacent lights also switch. 

However, lights don't exist beyond the first or fifth row or column and thus do not switch. 

Here is my logic:

```py
def toggle_adjacent_lights(self, light):
    adjacent_lights_unfiltered = [
        (light.x + 1, light.y), 
        (light.x - 1, light.y), 
        (light.x, light.y - 1),
        (light.x, light.y + 1)
    ]

    adjacent_lights = []
    for i in adjacent_lights_unfiltered:
        if 4 < i[0] >= 0 or i[1] >= 0:
            adjacent_lights.append(i)

    for a, b in adjacent_lights:
        self.board[a][b].toggle()

```

I, however, am still getting values in the `adjacent_lights` list that are either negative or greater than 4. 

Where am I going wrong? This is the second implementation attempt -- the first used the `.remove()` method and still yielded same results.