original_string: public static function record_exists_select($select, array $params = null) {
          global $DB;
          return $DB->record_exists_select(static::TABLE, $select, $params);
      }
code: public static function record_exists_select($select, array $params = null) {
          global $DB;
          return $DB->record_exists_select(static::TABLE, $select, $params);
      }
code_tokens: public static function record_exists_select ( $ select , array $ params = null ) { global $ DB ; return $ DB -> record_exists_select ( static :: TABLE , $ select , $ params ) ; }
docstring: Check if a records exists.
  
  @param string $select
  @param array $params
  @return bool
docstring_tokens: Check if a records exists .