<s>[INST] This is a chess-like game where the pieces are **cops** and **mobs**. The cops represent good and the mobs represent evil. The game is to capture all the mobs before they capture all the cops. Here is a board:

```
  a  b  c  d  e  f  g  h
8  .  .  .  .  .  .  .  .
7  .  .  .  .  .  .  .  .
6  .  .  .  .  .  .  .  .
5  .  .  .  .  .  .  .  .
4  c  .  c  c  .  .  c  .
3  .  .  .  .  .  .  .  .
2  .  .  m  .  m  .  m  .
1  .  .  .  .  .  .  .  .
```

In this game, the cops are denoted by `c` and the mobs are denoted by `m`. The board is an 8x8 grid. 

In this game, the cops and mobs can only move horizontally or vertically. The goal of the game is for the cops to capture all the mobs. 

A cop can capture a mob if the cop is on a directly adjacent square to the mob. 

Write code to determine if a cop is on a directly adjacent square to a mob.

Here is some sample data to test your code with:

```
board = [
    [None, None, None, None, None, None, None, None],
    [None, None, None, None, None, None, None, None],
    [None, None, 'c', None, None, None, None, None],
    [None, None, None, 'c', None, None, None, None],
    [None, None, None, None, None, None, None, None],
    [None, None, 'c', None, 'c', None, 'c', None],
    [None, None, 'm', None, 'm', None, 'm', None],
    [None, None, None, None, None, None, None, None],
]
```

This is a Python list representing the board. The `None` values are empty squares, `'c'` values are cops, and `'m'` values are mobs.

This code should return `True` if a cop is on a directly adjacent square to a mob, otherwise it should return `False`.

Note: `None` values can be ignored for the purpose of determining adjacency.

Here is an example of what the code should do:

```
board = [
    [None, None, None, None, None, None, None, None],
    [None, None, None, None, None, None, None, None],
    [None, None, 'c', None, None, None, None, None],
    [None, None, None, 'c', None, None, None, None],
    [None, None, None, None, None, None, None, None],
    [None, None, 'c', None, 'c', None, 'c', None],
    [None, None, 'm', None, 'm', None, 'm', None],
    [None, None, None, None, None, None, None, None],
]
adjacent = is_adjacent(board)
print(adjacent)[/INST]