original_string: protected function checkTable()
      {
          $data = Query::from('information_schema.tables', false)
              ->select('*')
              ->where('TABLE_SCHEMA', '=', Config::get('database.database'))
              ->andwhere('TABLE_NAME', '=', $this->_prifixTable)
              ->get(Query::GET_ARRAY);
          //
          return (Table::count($data) > 0) ? true : false;
      }
code: protected function checkTable()
      {
          $data = Query::from('information_schema.tables', false)
              ->select('*')
              ->where('TABLE_SCHEMA', '=', Config::get('database.database'))
              ->andwhere('TABLE_NAME', '=', $this->_prifixTable)
              ->get(Query::GET_ARRAY);
          //
          return (Table::count($data) > 0) ? true : false;
      }
code_tokens: protected function checkTable ( ) { $ data = Query :: from ( 'information_schema.tables' , false ) -> select ( '*' ) -> where ( 'TABLE_SCHEMA' , '=' , Config :: get ( 'database.database' ) ) -> andwhere ( 'TABLE_NAME' , '=' , $ this -> _prifixTable ) -> get ( Query :: GET_ARRAY ) ; // return ( Table :: count ( $ data ) > 0 ) ? true : false ; }
docstring: Check if table exists in database.
  
  @param $table string
  
  @return bool
docstring_tokens: Check if table exists in database .