def _is_action_available_left(self, state):
<EOL>for row in range(<NUM_LIT:4>):<EOL><INDENT>has_empty = False<EOL>for col in range(<NUM_LIT:4>):<EOL><INDENT>has_empty |= state[row, col] == <NUM_LIT:0><EOL>if state[row, col] != <NUM_LIT:0> and has_empty:<EOL><INDENT>return True<EOL><DEDENT>if (state[row, col] != <NUM_LIT:0> and col > <NUM_LIT:0> and<EOL>state[row, col] == state[row, col - <NUM_LIT:1>]):<EOL><INDENT>return True<EOL><DEDENT><DEDENT><DEDENT>return False<EOL>
Determines whether action 'Left' is available.