code: def is_action_available(self, action):
          
  
          temp_state = np.rot90(self._state, action)
          return self._is_action_available_left(temp_state)
docs: Determines whether action is available.
          That is, executing it would change the state.