original_string: public function checkAccessToken($access_token = null)
      {
          $token = is_null($access_token) ? $this->access_token : $access_token;
          if (is_null($token)) return false;
  
          $rs = $this->api('getUserSettings', array('access_token' => $token));
          return isset($rs['response']);
      }
code: public function checkAccessToken($access_token = null)
      {
          $token = is_null($access_token) ? $this->access_token : $access_token;
          if (is_null($token)) return false;
  
          $rs = $this->api('getUserSettings', array('access_token' => $token));
          return isset($rs['response']);
      }
code_tokens: public function checkAccessToken ( $ access_token = null ) { $ token = is_null ( $ access_token ) ? $ this -> access_token : $ access_token ; if ( is_null ( $ token ) ) return false ; $ rs = $ this -> api ( 'getUserSettings' , array ( 'access_token' => $ token ) ) ; return isset ( $ rs [ 'response' ] ) ; }
docstring: Check for validity access token.
  @param   string $access_token
  @return  bool
docstring_tokens: Check for validity access token .